public class ExceptionHandlingWebHandler extends WebHandlerDecorator
WebExceptionHandlers
after the delegate WebHandler
.Modifier and Type | Class and Description |
---|---|
private static class |
ExceptionHandlingWebHandler.CheckpointInsertingHandler
WebExceptionHandler to insert a checkpoint with current URL information.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<WebExceptionHandler> |
exceptionHandlers |
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.
|
<any> |
handle(ServerWebExchange exchange)
Handle the web server exchange.
|
getDelegate, toString
private final java.util.List<WebExceptionHandler> exceptionHandlers
public ExceptionHandlingWebHandler(WebHandler delegate, java.util.List<WebExceptionHandler> handlers)
public java.util.List<WebExceptionHandler> getExceptionHandlers()
public <any> 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