public interface WebHandler
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.
Modifier and Type | Method and Description |
---|---|
<any> |
handle(ServerWebExchange exchange)
Handle the web server exchange.
|
<any> handle(ServerWebExchange exchange)
exchange
- the current server exchangeMono<Void>
to indicate when request handling is complete