@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, getName, getPath, isSensitive, setPath
public ShutdownMvcEndpoint(ShutdownEndpoint delegate)
@PostMapping(produces={"application/vnd.spring-boot.actuator.v1+json","application/json"}) @ResponseBody public Object invoke()
invoke
in class EndpointMvcAdapter
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.