Class ManagementErrorEndpoint
java.lang.Object
org.springframework.boot.webmvc.autoconfigure.actuate.web.ManagementErrorEndpoint
@Controller 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.- Since:
- 4.0.0
- Author:
- Dave Syer, Scott Frederick, Moritz Halbritter
-
Constructor Summary
ConstructorsConstructorDescriptionManagementErrorEndpoint(ErrorAttributes errorAttributes, ErrorProperties errorProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleangetBooleanParameter(ServletWebRequest request, String parameterName) invoke(ServletWebRequest request)
-
Constructor Details
-
ManagementErrorEndpoint
-
-
Method Details
-
invoke
@RequestMapping("${spring.web.error.path:${error.path:/error}}") @ResponseBody public Map<String, @Nullable Object> invoke(ServletWebRequest request) -
getBooleanParameter
-