@FunctionalInterface
public interface ResourceTransformer
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.io.Resource |
transform(javax.servlet.http.HttpServletRequest request,
org.springframework.core.io.Resource resource,
ResourceTransformerChain transformerChain)
Transform the given resource.
|
org.springframework.core.io.Resource transform(javax.servlet.http.HttpServletRequest request,
org.springframework.core.io.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