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