@Controller
public class ManagementErrorEndpoint
extends java.lang.Object
@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.| Constructor and Description |
|---|
ManagementErrorEndpoint(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes,
org.springframework.boot.autoconfigure.web.ErrorProperties errorProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
getBooleanParameter(org.springframework.web.context.request.ServletWebRequest request,
java.lang.String parameterName) |
java.util.Map<java.lang.String,java.lang.Object> |
invoke(org.springframework.web.context.request.ServletWebRequest request) |
public ManagementErrorEndpoint(org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes,
org.springframework.boot.autoconfigure.web.ErrorProperties errorProperties)
@RequestMapping(value="${server.error.path:${error.path:/error}}")
@ResponseBody
public java.util.Map<java.lang.String,java.lang.Object> invoke(org.springframework.web.context.request.ServletWebRequest request)
protected boolean getBooleanParameter(org.springframework.web.context.request.ServletWebRequest request,
java.lang.String parameterName)