interface ResourceResolverChain
A contract for invoking a chain of ResourceResolvers where each resolver is given a reference to the chain allowing it to delegate when necessary.
Author
Jeremy Grelle
Author
Rossen Stoyanchev
Author
Sam Brannen
Since
4.1
abstract fun resolveResource(request: HttpServletRequest, requestPath: String, locations: MutableList<out Resource>): Resource
Resolve the supplied request and request path to a Resource that exists under one of the given resource locations. |
|
abstract fun resolveUrlPath(resourcePath: String, locations: MutableList<out Resource>): String
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. |