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
-
Constructor Details
-
SendErrorPageHandler
Construct a new instance.- Parameters:
next- The next handler to call if there is no error response
-
-
Method Details
-
handleRequest
- Specified by:
handleRequestin interfaceHttpHandler- Throws:
Exception
-