Interface StaticResourceServlet.ResourceProvider
- All Known Implementing Classes:
StaticResourceServlet.StaticResourceProvider
,VfsResourceProvider
- Enclosing class:
- StaticResourceServlet
public static interface StaticResourceServlet.ResourceProvider
provider interface to resolve a
StaticResourceServlet.Resource
-
Method Summary
Modifier and TypeMethodDescriptiongetResource
(jakarta.servlet.ServletContext context, String fullyQualifiedPath) fetches a Resource
-
Method Details
-
getResource
StaticResourceServlet.Resource getResource(jakarta.servlet.ServletContext context, String fullyQualifiedPath) fetches a Resource- Parameters:
context
-fullyQualifiedPath
-- Returns:
StaticResourceServlet.Resource
as pointed to by fullyQualifiedPath or null if resource was not found
-