类 HealthEndpointWebExtension
- java.lang.Object
- org.springframework.boot.actuate.health.HealthEndpointWebExtension
@EndpointWebExtension(endpoint=HealthEndpoint.class) public class HealthEndpointWebExtension extends Object
EndpointWebExtension
for theHealthEndpoint
.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 构造器 说明 HealthEndpointWebExtension(HealthEndpoint delegate, HealthWebEndpointResponseMapper responseMapper)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 WebEndpointResponse<Health>
getHealth(SecurityContext securityContext, ShowDetails showDetails)
WebEndpointResponse<Health>
health(SecurityContext securityContext)
WebEndpointResponse<Health>
healthForComponent(SecurityContext securityContext, String component)
WebEndpointResponse<Health>
healthForComponentInstance(SecurityContext securityContext, String component, String instance)
构造器详细资料
HealthEndpointWebExtension
public HealthEndpointWebExtension(HealthEndpoint delegate, HealthWebEndpointResponseMapper responseMapper)
方法详细资料
health
@ReadOperation public WebEndpointResponse<Health> health(SecurityContext securityContext)
healthForComponent
@ReadOperation public WebEndpointResponse<Health> healthForComponent(SecurityContext securityContext, @Selector String component)
healthForComponentInstance
@ReadOperation public WebEndpointResponse<Health> healthForComponentInstance(SecurityContext securityContext, @Selector String component, @Selector String instance)
getHealth
public WebEndpointResponse<Health> getHealth(SecurityContext securityContext, ShowDetails showDetails)