Class ErrorController


  • @Controller
    @RequestMapping("/error")
    public class ErrorController
    extends Object
    • Constructor Detail

      • ErrorController

        public ErrorController()
    • Method Detail

      • helpAsHTML

        @RequestMapping(value="/error-{lang}.html",
                        produces="text/html",
                        method={POST,GET})
        @ResponseBody
        public String helpAsHTML​(@PathVariable
                                 String lang)
                          throws IOException
        Throws:
        IOException
      • helpAsMD

        @GetMapping(value="/error-{lang}.md",
                    produces="text/markdown; charset=UTF-8")
        @ResponseBody
        public String helpAsMD​(@PathVariable
                               String lang)
                        throws IOException
        Throws:
        IOException