@ConfigurationProperties(prefix="endpoints.logfile") public class LogFileMvcEndpoint extends Object implements MvcEndpoint, EnvironmentAware
DISABLED_RESPONSE| Constructor and Description |
|---|
LogFileMvcEndpoint() |
| 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.
|
void |
invoke(HttpServletRequest request,
HttpServletResponse response) |
boolean |
isEnabled() |
boolean |
isSensitive()
Return if the endpoint exposes sensitive information.
|
void |
setEnabled(boolean enabled) |
void |
setEnvironment(Environment environment) |
void |
setPath(String path) |
void |
setSensitive(Boolean sensitive) |
public void setEnvironment(Environment environment)
setEnvironment in interface EnvironmentAwarepublic String getPath()
MvcEndpointgetPath in interface MvcEndpointpublic void setPath(String path)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public boolean isSensitive()
MvcEndpointisSensitive in interface MvcEndpointpublic void setSensitive(Boolean sensitive)
public Class<? extends Endpoint> getEndpointType()
MvcEndpointEndpoint exposed, or null if this
MvcEndpoint exposes information that cannot be represented as a traditional
Endpoint.getEndpointType in interface MvcEndpoint@RequestMapping(method={GET,HEAD}) public void invoke(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
ServletExceptionIOExceptionCopyright © 2016 Pivotal Software, Inc.. All rights reserved.