Interface webHandler
- All Known Implementing Classes:
DispatcherHandler, ExceptionHandlingwebHandler, FilteringwebHandler, HttpwebHandlerAdapter, ResourcewebHandler, webHandlerDecorator
public interface webHandler
Contract to handle a web request.
Use HttpwebHandlerAdapter to adapt a webHandler to an
HttpHandler.
The webHttpHandlerBuilder provides a convenient way to do that while
also optionally configuring one or more filters and/or exception handlers.
- Since:
- 5.0
- Author:
- Rossen Stoyanchev
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void> handle(ServerwebExchange exchange) Handle the web server exchange.
-
Method Details
-
handle
Handle the web server exchange.- Parameters:
exchange- the current server exchange- Returns:
Mono<Void>to indicate when request handling is complete
-