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 final List | |
| public static final String | HANDLED_WEB_EXCEPTION
Name of the |
| Access | Constructor and Description |
|---|---|
| public | ExceptionHandlingWebHandler(WebHandler
the WebHandler delegate delegate, List<WebExceptionHandler> the WebExceptionHandlers to apply handlers)Create an |
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public Mono | handle(ServerWebExchange
the current server exchange exchange)Overrides org. Implements org. |
| exceptionHandlers | back to summary |
|---|---|
| private final List<WebExceptionHandler> exceptionHandlers | |
| HANDLED_WEB_EXCEPTION | back to summary |
|---|---|
| public static final String HANDLED_WEB_EXCEPTION Name of the
| |
| ExceptionHandlingWebHandler | back to summary |
|---|---|
| public ExceptionHandlingWebHandler(WebHandler delegate, List<WebExceptionHandler> handlers) Create an
| |
| getExceptionHandlers | back to summary |
|---|---|
| public List Return a read-only list of the configured exception handlers. | |
| handle | back to summary |
|---|---|
| public Mono Overrides org. Implements org. Doc from org. Handle the web server exchange.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Mono | handle(ServerWebExchange
the current exchange exchange, Throwable the exception to handle ex)Implements org. |
| CheckpointInsertingHandler | back to summary |
|---|---|
| private CheckpointInsertingHandler() | |
| handle | back to summary |
|---|---|
| public Mono Implements org. Doc from org. Handle the given exception. A completion signal through the return value indicates error handling is complete while an error signal indicates the exception is still not handled.
| |