Class HealthEndpointWebExtension
- java.lang.Object
- org.springframework.boot.actuate.health.HealthEndpointWebExtension
@EndpointWebExtension(endpoint=HealthEndpoint.class) public class HealthEndpointWebExtension extends Object
EndpointWebExtension
for theHealthEndpoint
.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description HealthEndpointWebExtension(HealthEndpoint delegate, HealthWebEndpointResponseMapper responseMapper)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
Constructor Detail
HealthEndpointWebExtension
public HealthEndpointWebExtension(HealthEndpoint delegate, HealthWebEndpointResponseMapper responseMapper)
Method Detail
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)