| Modifier and Type | Field and Description |
|---|---|
| private volatile HttpHandler | |
| private volatile Set | responseCodes
The response codes that this handler will handle. |
| private final DefaultResponseListener |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public HttpHandler | |
| public Set | |
| public void | handleRequest(final HttpServerExchange
the HTTP request/response exchange exchange)Implements io. Handle the request. |
| public SimpleErrorPageHandler | |
| public SimpleErrorPageHandler | |
| public SimpleErrorPageHandler |
| next | back to summary |
|---|---|
| private volatile HttpHandler next | |
| responseCodes | back to summary |
|---|---|
| private volatile Set<Integer> responseCodes The response codes that this handler will handle. If this is null then it will handle all 4xx and 5xx codes. | |
| responseListener | back to summary |
|---|---|
| private final DefaultResponseListener responseListener | |
| SimpleErrorPageHandler | back to summary |
|---|---|
| public SimpleErrorPageHandler(final HttpHandler next) | |
| SimpleErrorPageHandler | back to summary |
|---|---|
| public SimpleErrorPageHandler() | |
| getNext | back to summary |
|---|---|
| public HttpHandler getNext() | |
| getResponseCodes | back to summary |
|---|---|
| public Set | |
| handleRequest | back to summary |
|---|---|
| public void handleRequest(final HttpServerExchange exchange) throws Exception Implements io. Doc from io. Handle the request.
| |
| setNext | back to summary |
|---|---|
| public SimpleErrorPageHandler setNext(final HttpHandler next) | |
| setResponseCodes | back to summary |
|---|---|
| public SimpleErrorPageHandler setResponseCodes(final Set<Integer> responseCodes) | |
| setResponseCodes | back to summary |
|---|---|
| public SimpleErrorPageHandler setResponseCodes(final Integer... responseCodes) | |