| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final LoggingExceptionHandler | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public | LoggingExceptionHandler(Map<Class<? extends Throwable>, LoggingExceptionHandler.
|
| Modifier and Type | Method and Description |
|---|---|
| public static LoggingExceptionHandler. | |
| private void | handleCustomLog(HttpServerExchange exchange, Throwable t, Logger.
|
| public boolean | handleThrowable(HttpServerExchange
The exchange exchange, ServletRequest The request request, ServletResponse The response response, Throwable The exception t)Implements io. Handles an exception. |
| DEFAULT | back to summary |
|---|---|
| public static final LoggingExceptionHandler DEFAULT | |
| exceptionDetails | back to summary |
|---|---|
| private final Map<Class<? extends Throwable>, LoggingExceptionHandler. | |
| LoggingExceptionHandler | back to summary |
|---|---|
| public LoggingExceptionHandler(Map<Class<? extends Throwable>, LoggingExceptionHandler. | |
| builder | back to summary |
|---|---|
| public static LoggingExceptionHandler. | |
| handleCustomLog | back to summary |
|---|---|
| private void handleCustomLog(HttpServerExchange exchange, Throwable t, Logger. | |
| handleThrowable | back to summary |
|---|---|
| public boolean handleThrowable(HttpServerExchange exchange, ServletRequest request, ServletResponse response, Throwable t) Implements io. Doc from io. Handles an exception. If this method returns true then the request/response cycle is considered to be finished, and no further action will take place, if this returns false then standard error page redirect will take place. The default implementation of this simply logs the exception and returns false, allowing error page and async context error handling to proceed as normal.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Map |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public LoggingExceptionHandler. | |
| public LoggingExceptionHandler. | |
| public LoggingExceptionHandler. | |
| public LoggingExceptionHandler |
| exceptionDetails | back to summary |
|---|---|
| private final Map<Class<? extends Throwable>, LoggingExceptionHandler. | |
| Builder | back to summary |
|---|---|
| pack-priv Builder() | |
| add | back to summary |
|---|---|
| public LoggingExceptionHandler. | |
| add | back to summary |
|---|---|
| public LoggingExceptionHandler. | |
| add | back to summary |
|---|---|
| public LoggingExceptionHandler. | |
| build | back to summary |
|---|---|
| public LoggingExceptionHandler build() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String | |
| pack-priv final Logger. | |
| pack-priv final Logger. |
| Access | Constructor and Description |
|---|---|
| private |
| category | back to summary |
|---|---|
| pack-priv final String category | |
| level | back to summary |
|---|---|
| pack-priv final Logger. | |
| stackTraceLevel | back to summary |
|---|---|
| pack-priv final Logger. | |