Class ErrorController


  • @Controller("internal-error")
    @RequestMapping("/errors")
    public class ErrorController
    extends AbstractController
    • Constructor Detail

      • ErrorController

        public ErrorController()
    • Method Detail

      • errorRedirect

        @RequestMapping(value="/redirect/{status}",
                        produces={"application/json","application/xml","application/atom+xml","application/home+json","application/home+xml","application/vnd.emc.documentum+json","application/vnd.emc.documentum+xml","application/hal+json"})
        public org.springframework.http.ResponseEntity<RestError> errorRedirect​(@PathVariable("status")
                                                                                int httpStatus,
                                                                                javax.servlet.http.HttpServletRequest request,
                                                                                javax.servlet.http.HttpServletResponse response)