public class FilteringWebHandler extends WebHandlerDecorator
Constructor and Description |
---|
FilteringWebHandler(WebHandler webHandler,
List<WebFilter> filters)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<WebFilter> |
getFilters()
Return a read-only list of the configured filters.
|
reactor.core.publisher.Mono<Void> |
handle(ServerWebExchange exchange)
Handle the web server exchange.
|
getDelegate, toString
public FilteringWebHandler(WebHandler webHandler, List<WebFilter> filters)
filters
- the chain of filterspublic reactor.core.publisher.Mono<Void> handle(ServerWebExchange exchange)
WebHandler
handle
in interface WebHandler
handle
in class WebHandlerDecorator
exchange
- the current server exchangeMono<Void>
to indicate when request handling is complete