public class ExceptionHandlingWebHandler extends WebHandlerDecorator
WebExceptionHandlers
after the delegate WebHandler
.Constructor and Description |
---|
ExceptionHandlingWebHandler(WebHandler delegate,
java.util.List<WebExceptionHandler> handlers) |
Modifier and Type | Method and Description |
---|---|
java.util.List<WebExceptionHandler> |
getExceptionHandlers()
Return a read-only list of the configured exception handlers.
|
reactor.core.publisher.Mono<java.lang.Void> |
handle(ServerWebExchange exchange)
Handle the web server exchange.
|
getDelegate, toString
public ExceptionHandlingWebHandler(WebHandler delegate, java.util.List<WebExceptionHandler> handlers)
public java.util.List<WebExceptionHandler> getExceptionHandlers()
public reactor.core.publisher.Mono<java.lang.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