public interface PayloadInterceptor
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
intercept(PayloadExchange exchange,
PayloadInterceptorChain chain)
Process the Web request and (optionally) delegate to the next
PayloadInterceptor through the given PayloadInterceptorChain . |
reactor.core.publisher.Mono<java.lang.Void> intercept(PayloadExchange exchange, PayloadInterceptorChain chain)
PayloadInterceptor
through the given PayloadInterceptorChain
.exchange
- the current payload exchangechain
- provides a way to delegate to the next interceptorMono<Void>
to indicate when payload processing is complete