类 ManagementErrorEndpoint


  • @Controller
    public class ManagementErrorEndpoint
    extends Object
    Special MvcEndpoint for handling "/error" path when the management servlet is in a child context. The regular ErrorController should be available there but because of the way the handler mappings are set up it will not be detected.
    • 构造器详细资料

      • ManagementErrorEndpoint

        public ManagementErrorEndpoint​(org.springframework.boot.autoconfigure.web.ErrorAttributes errorAttributes)
    • 方法详细资料

      • invoke

        @RequestMapping("${server.error.path:${error.path:/error}}")
        @ResponseBody
        public Map<String,​Objectinvoke()