@FunctionalInterface
public interface ResourceTransformer
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Resource> |
transform(ServerWebExchange exchange,
Resource resource,
ResourceTransformerChain transformerChain)
Transform the given resource.
|
reactor.core.publisher.Mono<Resource> transform(ServerWebExchange exchange, Resource resource, ResourceTransformerChain transformerChain)
exchange
- the current exchangeresource
- the resource to transformtransformerChain
- the chain of remaining transformers to delegate to