public class ResourceChainRegistration
extends java.lang.Object
Constructor and Description |
---|
ResourceChainRegistration(boolean cacheResources) |
ResourceChainRegistration(boolean cacheResources,
Cache cache) |
Modifier and Type | Method and Description |
---|---|
ResourceChainRegistration |
addResolver(ResourceResolver resolver)
Add a resource resolver to the chain.
|
ResourceChainRegistration |
addTransformer(ResourceTransformer transformer)
Add a resource transformer to the chain.
|
protected java.util.List<ResourceResolver> |
getResourceResolvers() |
protected java.util.List<ResourceTransformer> |
getResourceTransformers() |
public ResourceChainRegistration(boolean cacheResources)
public ResourceChainRegistration(boolean cacheResources, Cache cache)
public ResourceChainRegistration addResolver(ResourceResolver resolver)
resolver
- the resolver to addpublic ResourceChainRegistration addTransformer(ResourceTransformer transformer)
transformer
- the transformer to addprotected java.util.List<ResourceResolver> getResourceResolvers()
protected java.util.List<ResourceTransformer> getResourceTransformers()