类 EndpointMvcAdapter
- java.lang.Object
- org.springframework.boot.actuate.endpoint.mvc.AbstractEndpointMvcAdapter<Endpoint<?>>
- org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter
- 所有已实现的接口:
MvcEndpoint
,NamedMvcEndpoint
public class EndpointMvcAdapter extends AbstractEndpointMvcAdapter<Endpoint<?>>
Adapter class to exposeEndpoint
s asMvcEndpoint
s.
字段概要
从接口继承的字段 org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint
DISABLED_RESPONSE
构造器概要
构造器 构造器 说明 EndpointMvcAdapter(Endpoint<?> delegate)
Create a newEndpointMvcAdapter
.
方法概要
从类继承的方法 org.springframework.boot.actuate.endpoint.mvc.AbstractEndpointMvcAdapter
getDelegate, getDisabledResponse, getEndpointType, getName, getPath, isSensitive, setPath
构造器详细资料
EndpointMvcAdapter
public EndpointMvcAdapter(Endpoint<?> delegate)
Create a newEndpointMvcAdapter
.- 参数:
delegate
- the underlyingEndpoint
to adapt.
方法详细资料
invoke
@ActuatorGetMapping @ResponseBody public Object invoke()
- 覆盖:
invoke
在类中AbstractEndpointMvcAdapter<Endpoint<?>>