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