public interface ResourceTransformer
Modifier and Type | Method and Description |
---|---|
Resource |
transform(HttpServletRequest request,
Resource resource,
ResourceTransformerChain transformerChain)
Transform the given resource.
|
Resource transform(HttpServletRequest request, Resource resource, ResourceTransformerChain transformerChain) throws java.io.IOException
request
- the current requestresource
- the resource to transformtransformerChain
- the chain of remaining transformers to delegate tonull
java.io.IOException
- if the transformation fails