Class ErrorController


  • @RestController
    public class ErrorController
    extends java.lang.Object
    A controller for handling 403 and 404 error codes which happen
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorController()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String handleError​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ErrorController

        public ErrorController()
    • Method Detail

      • handleError

        @RequestMapping("/error")
        public java.lang.String handleError​(javax.servlet.http.HttpServletRequest request,
                                            javax.servlet.http.HttpServletResponse response)