- All Known Implementing Classes:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ResourceTransformer
An abstraction for transforming the content of a resource.
- Rossen Stoyanchev
(ServerWebExchange exchange, Resource resource, ResourceTransformerChain transformerChain)Transform the given resource.
exchange- the current exchange
resource- the resource to transform
transformerChain- the chain of remaining transformers to delegate to
- the transformed resource (never empty)