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.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<ResourceResolver> |
ResourceChainRegistration.getResourceResolvers() |
Modifier and Type | Method and Description |
---|---|
ResourceChainRegistration |
ResourceChainRegistration.addResolver(ResourceResolver resolver)
Add a resource resolver to the chain.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractResourceResolver
Base class for
ResourceResolver
implementations. |
class |
CachingResourceResolver
A
ResourceResolver that
resolves resources from a Cache or otherwise
delegates to the resolver chain and saves the result in the cache. |
class |
GzipResourceResolver
A
ResourceResolver that delegates to the chain to locate a resource
and then attempts to find a variation with the ".gz" extension. |
class |
PathResourceResolver
A simple
ResourceResolver 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
A
ResourceResolver that delegates to the chain to locate a resource and then
attempts to find a matching versioned resource contained in a WebJar JAR file. |
Modifier and Type | Method and Description |
---|---|
java.util.List<ResourceResolver> |
ResourceHttpRequestHandler.getResourceResolvers()
Return the list of configured resource resolvers.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceHttpRequestHandler.setResourceResolvers(java.util.List<ResourceResolver> resourceResolvers)
Configure the list of
ResourceResolver s to use. |