Class FilteringwebHandler
java.lang.Object
org.springframework.web.server.handler.webHandlerDecorator
org.springframework.web.server.handler.FilteringwebHandler
- All Implemented Interfaces:
webHandler
- Since:
- 5.0
- Author:
- Rossen Stoyanchev
-
Constructor Summary
ConstructorsConstructorDescriptionFilteringwebHandler(webHandler handler, List<webFilter> filters) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturn a read-only list of the configured filters.reactor.core.publisher.Mono<Void> handle(ServerwebExchange exchange) Handle the web server exchange.Methods inherited from class webHandlerDecorator
getDelegate, toString
-
Constructor Details
-
FilteringwebHandler
Constructor.- Parameters:
filters- the chain of filters
-
-
Method Details
-
getFilters
-
handle
Description copied from interface:webHandlerHandle the web server exchange.- Specified by:
handlein interfacewebHandler- Overrides:
handlein classwebHandlerDecorator- Parameters:
exchange- the current server exchange- Returns:
Mono<Void>to indicate when request handling is complete
-