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 |
---|---|
reactor.core.publisher.Mono<Void> |
handle(ServerWebExchange exchange)
Handle the web server exchange.
|
reactor.core.publisher.Mono<Void> handle(ServerWebExchange exchange)
exchange
- the current server exchangeMono<Void>
to indicate when request handling is complete