Class HttpErrorController

java.lang.Object
io.github.jirkasa.servletrouter.Controller<Request,Response>
io.github.jirkasa.servletrouter.ErrorController<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>
io.github.jirkasa.servletrouter.HttpErrorController

public abstract class HttpErrorController extends ErrorController<javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse>
ErrorController that uses HttpServletRequest and HttpServletResponse.
  • Constructor Details

    • HttpErrorController

      public HttpErrorController(Exception exception)
      Creates new error controller.
      Parameters:
      exception - Exception that the controller should process.