ExceptionHandlerpublic class LoggingExceptionHandler extends java.lang.Object implements ExceptionHandler
| Modifier and Type | Class | Description |
|---|---|---|
static class |
LoggingExceptionHandler.Builder |
| Modifier and Type | Field | Description |
|---|---|---|
static LoggingExceptionHandler |
DEFAULT |
| Constructor | Description |
|---|---|
LoggingExceptionHandler(java.util.Map<java.lang.Class<? extends java.lang.Throwable>,io.undertow.servlet.api.LoggingExceptionHandler.ExceptionDetails> exceptionDetails) |
| Modifier and Type | Method | Description |
|---|---|---|
static LoggingExceptionHandler.Builder |
builder() |
|
boolean |
handleThrowable(io.undertow.server.HttpServerExchange exchange,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
java.lang.Throwable t) |
Handles an exception.
|
public static final LoggingExceptionHandler DEFAULT
public LoggingExceptionHandler(java.util.Map<java.lang.Class<? extends java.lang.Throwable>,io.undertow.servlet.api.LoggingExceptionHandler.ExceptionDetails> exceptionDetails)
public boolean handleThrowable(io.undertow.server.HttpServerExchange exchange,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
java.lang.Throwable t)
ExceptionHandlerhandleThrowable in interface ExceptionHandlerexchange - The exchangerequest - The requestresponse - The responset - The exceptiontrue true if the error was handled by this methodpublic static LoggingExceptionHandler.Builder builder()
Copyright © 2018. All rights reserved.