Uses of Interface
org.springframework.web.servlet.resource.ResourceResolver
Package
Description
Annotation-based setup for Spring MVC.
Support classes for serving static resources.
-
Uses of ResourceResolver in org.springframework.web.servlet.config.annotation
Modifier and TypeMethodDescriptionprotected List<ResourceResolver>
ResourceChainRegistration.getResourceResolvers()
Modifier and TypeMethodDescriptionResourceChainRegistration.addResolver
(ResourceResolver resolver) Add a resource resolver to the chain. -
Uses of ResourceResolver in org.springframework.web.servlet.resource
Modifier and TypeClassDescriptionclass
Base class forResourceResolver
implementations.class
AResourceResolver
that resolves resources from aCache
or otherwise delegates to the resolver chain and saves the result in the cache.class
Resolver that delegates to the chain, and if a resource is found, it then attempts to find an encoded (for example, gzip, brotli) variant that is acceptable based on the "Accept-Encoding" request header.class
AResourceResolver
that delegates to the chain to locate a resource and then attempts to find a matching versioned resource contained in a WebJar JAR file.class
A simpleResourceResolver
that tries to find a resource under the given locations matching to the request path.class
Resolves request paths containing a version string that can be used as part of an HTTP caching strategy in which a resource is cached with a date in the distant future (for example, 1 year) and cached until the version, and therefore the URL, is changed.class
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionResourceHttpRequestHandler.getResourceResolvers()
Return the list of configured resource resolvers.Modifier and TypeMethodDescriptionvoid
ResourceHttpRequestHandler.setResourceResolvers
(List<ResourceResolver> resourceResolvers) Configure the list ofResourceResolvers
to use.
LiteWebJarsResourceResolver