public interface ResourceTransformerChain
ResourceTransformers where each resolver is given a reference to the chain allowing it to delegate when necessary.
|Modifier and Type||Method and Description|
Transform the given resource.
ResourceResolverChainthat was used to resolve the
Resourcebeing transformed. This may be needed for resolving related resources, e.g. links to other resources.
Resource transform(HttpServletRequest request, Resource resource) throws java.io.IOException
request- the current request
resource- the candidate resource to transform
java.io.IOException- if transformation fails