@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)
@PostMapping @ResponseBody public Object invoke()
invoke
in class EndpointMvcAdapter
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.