ResourceResolvers where each resolver
is given a reference to the chain allowing it to delegate when necessary.
| Modifier and Type | Method and Description |
|---|---|
| public Resource | Returns: the resolved resource, ornull if unresolvedthe current request request, String the portion of the request path to use requestPath, List<? extends Resource> the locations to search in when looking up resources locations)Resolve the supplied request and request path to a |
| public String | Returns: the resolved public URL path, ornull if unresolvedthe internal resource path resourcePath, List<? extends Resource> the locations to search in when looking up resources locations)Resolve the externally facing public URL path for clients to use to access the resource that is located at the given internal resource path. |
| resolveResource | back to summary |
|---|---|
| public Resource resolveResource(HttpServletRequest request, String requestPath, List<? extends Resource> locations) Resolve the supplied request and request path to a | |
| resolveUrlPath | back to summary |
|---|---|
| public String resolveUrlPath(String resourcePath, List<? extends Resource> locations) 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. | |