Class ShutdownMvcEndpoint
- java.lang.Object
- org.springframework.boot.actuate.endpoint.mvc.AbstractEndpointMvcAdapter<Endpoint<?>>
- org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter
- org.springframework.boot.actuate.endpoint.mvc.ShutdownMvcEndpoint
- All Implemented Interfaces:
MvcEndpoint
,NamedMvcEndpoint
@ConfigurationProperties(prefix="endpoints.shutdown") public class ShutdownMvcEndpoint extends EndpointMvcAdapter
Adapter to exposeShutdownEndpoint
as anMvcEndpoint
.
Field Summary
Fields inherited from interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint
DISABLED_RESPONSE
Constructor Summary
Constructors Constructor Description ShutdownMvcEndpoint(ShutdownEndpoint delegate)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
invoke()
Methods inherited from class org.springframework.boot.actuate.endpoint.mvc.AbstractEndpointMvcAdapter
getDelegate, getDisabledResponse, getEndpointType, getName, getPath, isSensitive, setPath
Constructor Detail
ShutdownMvcEndpoint
public ShutdownMvcEndpoint(ShutdownEndpoint delegate)
Method Detail
invoke
@PostMapping(produces={"application/vnd.spring-boot.actuator.v1+json","application/json"}) @ResponseBody public Object invoke()
- Overrides:
invoke
in classEndpointMvcAdapter