Package | Description |
---|---|
org.springframework.web.reactive.config |
Spring WebFlux configuration infrastructure.
|
org.springframework.web.reactive.resource |
Support classes for serving static resources.
|
Modifier and Type | Method and Description |
---|---|
protected 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
ResourceResolver providing consistent logging. |
class |
CachingResourceResolver
A
ResourceResolver that resolves resources from a Cache or
otherwise delegates to the resolver chain and caches the result. |
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 |
---|---|
List<ResourceResolver> |
ResourceWebHandler.getResourceResolvers()
Return the list of configured resource resolvers.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceWebHandler.setResourceResolvers(List<ResourceResolver> resourceResolvers)
Configure the list of
ResourceResolver s to use. |