public class ResourceChainRegistration extends 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 List<ResourceResolver> |
getResourceResolvers() |
protected 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 List<ResourceResolver> getResourceResolvers()
protected List<ResourceTransformer> getResourceTransformers()