org.springframework.web.servlet.resource.ResourceResolver
implementations. Provides consistent logging.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Resource | resolveResource(HttpServletRequest
the current request (may not be present in some calls) request, String the portion of the request path to use requestPath, List<? extends Resource> the locations to search in when looking up resources locations, ResourceResolverChain the chain of remaining resolvers to delegate to chain)Implements org. Resolve the supplied request and request path to a |
| protected abstract Resource | resolveResourceInternal(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain)
|
| public String | resolveUrlPath(String
the internal resource path resourceUrlPath, List<? extends Resource> the locations to search in when looking up resources locations, ResourceResolverChain the chain of resolvers to delegate to chain)Implements org. Resolve the externally facing public URL path for clients to use to access the resource that is located at the given internal resource path. |
| protected abstract String | resolveUrlPathInternal(String resourceUrlPath, List<? extends Resource> locations, ResourceResolverChain chain)
|
| logger | back to summary |
|---|---|
| protected final Log logger | |
| AbstractResourceResolver | back to summary |
|---|---|
| public AbstractResourceResolver() | |
| resolveResource | back to summary |
|---|---|
| public Resource resolveResource(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) Implements org. Doc from org. Resolve the supplied request and request path to a
| |
| resolveResourceInternal | back to summary |
|---|---|
protected abstract Resource resolveResourceInternal(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain)
| |
| resolveUrlPath | back to summary |
|---|---|
| public String resolveUrlPath(String resourceUrlPath, List<? extends Resource> locations, ResourceResolverChain chain) Implements org. Doc from org. Resolve the externally facing public URL path for clients to use to access the resource that is located at the given internal resource path. This is useful when rendering URL links to clients.
| |
| resolveUrlPathInternal | back to summary |
|---|---|
protected abstract String resolveUrlPathInternal(String resourceUrlPath, List<? extends Resource> locations, ResourceResolverChain chain)
| |