| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final HttpHandler | |
| public static final AttachmentKey |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <T extends Throwable> ExceptionHandler | |
| public void | handleRequest(HttpServerExchange
the HTTP request/response exchange exchange)Implements io. Handle the request. |
| exceptionHandlers | back to summary |
|---|---|
| private final List<ExceptionHandler. | |
| handler | back to summary |
|---|---|
| private final HttpHandler handler | |
| THROWABLE | back to summary |
|---|---|
| public static final AttachmentKey<Throwable> THROWABLE | |
| ExceptionHandler | back to summary |
|---|---|
| public ExceptionHandler(HttpHandler handler) | |
| addExceptionHandler | back to summary |
|---|---|
| public <T extends Throwable> ExceptionHandler addExceptionHandler(Class<T> clazz, HttpHandler handler) | |
| handleRequest | back to summary |
|---|---|
| public void handleRequest(HttpServerExchange exchange) throws Exception Implements io. Doc from io. Handle the request.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final HttpHandler |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Class | |
| public HttpHandler |
| clazz | back to summary |
|---|---|
| private final Class<T> clazz | |
| handler | back to summary |
|---|---|
| private final HttpHandler handler | |
| ExceptionHandlerHolder | back to summary |
|---|---|
| pack-priv ExceptionHandlerHolder(Class<T> clazz, HttpHandler handler) | |
| getClazz | back to summary |
|---|---|
| public Class | |
| getHandler | back to summary |
|---|---|
| public HttpHandler getHandler() | |