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()voidhandleRequest(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:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
Exception
-
getNext
-
setNext
-
getResponseCodes
-
setResponseCodes
-
setResponseCodes
-