@ConfigurationProperties(prefix="error") public class ManagementErrorEndpoint extends Object implements MvcEndpoint
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.Constructor and Description |
---|
ManagementErrorEndpoint(String path,
ErrorAttributes errorAttributes) |
Modifier and Type | Method and Description |
---|---|
Class<? extends Endpoint> |
getEndpointType()
Return the type of
Endpoint exposed, or null if this
MvcEndpoint exposes information that cannot be represented as a traditional
Endpoint . |
String |
getPath()
Return the MVC path of the endpoint.
|
Map<String,Object> |
invoke() |
boolean |
isSensitive()
Return if the endpoint exposes sensitive information.
|
public ManagementErrorEndpoint(String path, ErrorAttributes errorAttributes)
public String getPath()
MvcEndpoint
getPath
in interface MvcEndpoint
public boolean isSensitive()
MvcEndpoint
isSensitive
in interface MvcEndpoint
public Class<? extends Endpoint> getEndpointType()
MvcEndpoint
Endpoint
exposed, or null
if this
MvcEndpoint
exposes information that cannot be represented as a traditional
Endpoint
.getEndpointType
in interface MvcEndpoint
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.