public class ExceptionHandlingWebHandler extends WebHandlerDecorator
WebHandler and then apply
exception handling with one or more WebExceptionHandler instances.| Constructor and Description |
|---|
ExceptionHandlingWebHandler(WebHandler delegate,
WebExceptionHandler... exceptionHandlers) |
| Modifier and Type | Method and Description |
|---|---|
List<WebExceptionHandler> |
getExceptionHandlers()
Return a read-only list of the configured exception handlers.
|
reactor.core.publisher.Mono<Void> |
handle(ServerWebExchange exchange)
Handle the web server exchange.
|
getDelegate, toStringpublic ExceptionHandlingWebHandler(WebHandler delegate, WebExceptionHandler... exceptionHandlers)
public List<WebExceptionHandler> getExceptionHandlers()
public reactor.core.publisher.Mono<Void> handle(ServerWebExchange exchange)
WebHandlerhandle in interface WebHandlerhandle in class WebHandlerDecoratorexchange - the current server exchangeMono<Void> to indicate when request handling is complete