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 List<ResourceTransformer> |
ResourceChainRegistration.getResourceTransformers() |
Modifier and Type | Method and Description |
---|---|
ResourceChainRegistration |
ResourceChainRegistration.addTransformer(ResourceTransformer transformer)
Add a resource transformer to the chain.
|
Modifier and Type | Class and Description |
---|---|
class |
AppCacheManifestTransformer
A
ResourceTransformer implementation that helps handling resources
within HTML5 AppCache manifests for HTML5 offline applications. |
class |
CachingResourceTransformer
A
ResourceTransformer that checks a
Cache to see if a previously transformed resource
exists in the cache and returns it if found, and otherwise delegates to the resolver
chain and saves the result in the cache. |
class |
CssLinkResourceTransformer
A
ResourceTransformer implementation that modifies links in a CSS
file to match the public URL paths that should be exposed to clients (e.g. |
class |
ResourceTransformerSupport
A base class for a
ResourceTransformer with an optional helper method
for resolving public links within a transformed resource. |
Modifier and Type | Method and Description |
---|---|
List<ResourceTransformer> |
ResourceHttpRequestHandler.getResourceTransformers()
Return the list of configured resource transformers.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceHttpRequestHandler.setResourceTransformers(List<ResourceTransformer> resourceTransformers)
Configure the list of
ResourceTransformers to use. |