Uses of Interface
org.springframework.web.servlet.resource.ResourceResolver
Packages that use ResourceResolver Package Description org.springframework.web.servlet.config.annotation Annotation-based setup for Spring MVC.org.springframework.web.servlet.resource Support classes for serving static resources.Uses of ResourceResolver in org.springframework.web.servlet.config.annotation
Methods in org.springframework.web.servlet.config.annotation that return types with arguments of type ResourceResolver Modifier and Type Method Description protected List<ResourceResolver>
ResourceChainRegistration. getResourceResolvers()
Methods in org.springframework.web.servlet.config.annotation with parameters of type ResourceResolver Modifier and Type Method Description ResourceChainRegistration
ResourceChainRegistration. addResolver(ResourceResolver resolver)
Add a resource resolver to the chain.Uses of ResourceResolver in org.springframework.web.servlet.resource
Classes in org.springframework.web.servlet.resource that implement ResourceResolver Modifier and Type Class Description class
AbstractResourceResolver
Base class forResourceResolver
implementations.class
CachingResourceResolver
AResourceResolver
that resolves resources from aCache
or otherwise delegates to the resolver chain and saves the result in the cache.class
EncodedResourceResolver
Resolver that delegates to the chain, and if a resource is found, it then attempts to find an encoded (e.g.class
GzipResourceResolver
Deprecated.as of 5.1, in favor of usingEncodedResourceResolver
class
PathResourceResolver
A simpleResourceResolver
that tries to find a resource under the given locations matching to the request path.class
VersionResourceResolver
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 (e.g.class
WebJarsResourceResolver
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.Methods in org.springframework.web.servlet.resource that return types with arguments of type ResourceResolver Modifier and Type Method Description List<ResourceResolver>
ResourceHttpRequestHandler. getResourceResolvers()
Return the list of configured resource resolvers.Method parameters in org.springframework.web.servlet.resource with type arguments of type ResourceResolver Modifier and Type Method Description void
ResourceHttpRequestHandler. setResourceResolvers(List<ResourceResolver> resourceResolvers)
Configure the list ofResourceResolvers
to use.