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