public class SimpleErrorPageHandler extends Object implements HttpHandler
| Constructor and Description |
|---|
SimpleErrorPageHandler() |
SimpleErrorPageHandler(HttpHandler next) |
| Modifier and Type | Method and Description |
|---|---|
HttpHandler | getNext() |
Set<Integer> | getResponseCodes() |
void | handleRequest(HttpServerExchange exchange) Handle the request. |
SimpleErrorPageHandler | setNext(HttpHandler next) |
SimpleErrorPageHandler | setResponseCodes(Integer... responseCodes) |
SimpleErrorPageHandler | setResponseCodes(Set<Integer> responseCodes) |
public SimpleErrorPageHandler(HttpHandler next)
public SimpleErrorPageHandler()
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeExceptionpublic HttpHandler getNext()
public SimpleErrorPageHandler setNext(HttpHandler next)
public SimpleErrorPageHandler setResponseCodes(Set<Integer> responseCodes)
public SimpleErrorPageHandler setResponseCodes(Integer... responseCodes)
Copyright © 2015 JBoss by Red Hat. All rights reserved.