类 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
- 所有已实现的接口:
MvcEndpoint
,NamedMvcEndpoint
@ConfigurationProperties(prefix="endpoints.shutdown") public class ShutdownMvcEndpoint extends EndpointMvcAdapter
Adapter to exposeShutdownEndpoint
as anMvcEndpoint
.
字段概要
从接口继承的字段 org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint
DISABLED_RESPONSE
构造器概要
构造器 构造器 说明 ShutdownMvcEndpoint(ShutdownEndpoint delegate)
方法概要
从类继承的方法 org.springframework.boot.actuate.endpoint.mvc.AbstractEndpointMvcAdapter
getDelegate, getDisabledResponse, getEndpointType, getName, getPath, isSensitive, setPath
构造器详细资料
ShutdownMvcEndpoint
public ShutdownMvcEndpoint(ShutdownEndpoint delegate)
方法详细资料
invoke
@PostMapping(produces={"application/vnd.spring-boot.actuator.v1+json","application/json"}) @ResponseBody public Object invoke()
- 覆盖:
invoke
在类中EndpointMvcAdapter