org.springframework.web.reactive.resource

Interface ResourceTransformer

    • Method Detail

      • transform

        reactor.core.publisher.Mono<Resource> transform(ServerWebExchange exchange,
                                                        Resource resource,
                                                        ResourceTransformerChain transformerChain)
        Transform the given resource.
        Parameters:
        exchange - the current exchange
        resource - the resource to transform
        transformerChain - the chain of remaining transformers to delegate to
        Returns:
        the transformed resource (never empty)