Class SimpleErrorPageHandler
java.lang.Object
io.undertow.server.handlers.error.SimpleErrorPageHandler
- All Implemented Interfaces:
HttpHandler
Handler that generates an extremely simple no frills error page
- Author:
- Stuart Douglas
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNext()
void
handleRequest
(HttpServerExchange exchange) Handle the request.setNext
(HttpHandler next) setResponseCodes
(Integer... responseCodes) setResponseCodes
(Set<Integer> responseCodes)
-
Constructor Details
-
SimpleErrorPageHandler
-
SimpleErrorPageHandler
public SimpleErrorPageHandler()
-
-
Method Details
-
handleRequest
Description copied from interface:HttpHandler
Handle the request.- Specified by:
handleRequest
in interfaceHttpHandler
- Parameters:
exchange
- the HTTP request/response exchange- Throws:
Exception
-
getNext
-
setNext
-
getResponseCodes
-
setResponseCodes
-
setResponseCodes
-