public interface ResourceTransformerChain
A contract for invoking a chain of
ResourceTransformerswhere each resolver is given a reference to the chain allowing it to delegate when necessary.
- Rossen Stoyanchev
getResolverChainResourceResolverChain getResolverChain()Return the
ResourceResolverChainthat was used to resolve the
Resourcebeing transformed. This may be needed for resolving related resources, e.g. links to other resources.
transformTransform the given resource.
request- the current request
resource- the candidate resource to transform
- the transformed or the same resource, never
IOException- if transformation fails