public interface WebFilter
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Void> |
filter(ServerWebExchange exchange,
WebFilterChain chain)
Process the Web request and (optionally) delegate to the next
WebFilter through the given WebFilterChain . |
reactor.core.publisher.Mono<Void> filter(ServerWebExchange exchange, WebFilterChain chain)
WebFilter
through the given WebFilterChain
.exchange
- the current server exchangechain
- provides a way to delegate to the next filterMono<Void>
to indicate when request processing is complete