@ConfigurationProperties(prefix="endpoints.shutdown") public class ShutdownMvcEndpoint extends EndpointMvcAdapter
ShutdownEndpoint
as an MvcEndpoint
.DISABLED_RESPONSE
Constructor and Description |
---|
ShutdownMvcEndpoint(ShutdownEndpoint delegate) |
Modifier and Type | Method and Description |
---|---|
Object |
invoke() |
getDelegate, getDisabledResponse, getEndpointType, getPath, isSensitive, setPath
public ShutdownMvcEndpoint(ShutdownEndpoint delegate)
@RequestMapping(method=POST) @ResponseBody public Object invoke()
invoke
in class EndpointMvcAdapter
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.