Package io.undertow.servlet.handlers
Class SendErrorPageHandler
java.lang.Object
io.undertow.servlet.handlers.SendErrorPageHandler
- All Implemented Interfaces:
HttpHandler
A handler that sends the servlet's error page if the status code is greater than 399
- Author:
- Brad Wood
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(HttpServerExchange exchange) Handle the request.
-
Constructor Details
-
SendErrorPageHandler
Construct a new instance.- Parameters:
next- The next handler to call if there is no error response
-
-
Method Details
-
handleRequest
Description copied from interface:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
Exception
-