@FunctionalInterface interface ResourceTransformer
An abstraction for transforming the content of a resource.
Author
Rossen Stoyanchev
Since
5.0
abstract fun transform(exchange: ServerWebExchange, resource: Resource, transformerChain: ResourceTransformerChain): Mono<Resource>
Transform the given resource. |
open class CachingResourceTransformer : ResourceTransformer
A ResourceTransformer that checks a Cache to see if a previously transformed resource exists in the cache and returns it if found, or otherwise delegates to the resolver chain and caches the result. |