@EndpointWebExtension(endpoint=HealthEndpoint.class) public class HealthEndpointWebExtension extends Object
@EndpointWebExtension for the HealthEndpoint.| Constructor and Description |
|---|
HealthEndpointWebExtension(HealthContributorRegistry registry,
HealthEndpointGroups groups)
Create a new
HealthEndpointWebExtension instance. |
public HealthEndpointWebExtension(HealthContributorRegistry registry, HealthEndpointGroups groups)
HealthEndpointWebExtension instance.registry - the health contributor registrygroups - the health endpoint groups@ReadOperation public WebEndpointResponse<HealthComponent> health(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext)
@ReadOperation public WebEndpointResponse<HealthComponent> health(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext, @Selector(match=ALL_REMAINING) String... path)
public WebEndpointResponse<HealthComponent> health(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext, boolean showAll, String... path)
protected HealthComponent getHealth(HealthContributor contributor, boolean includeDetails)
protected HealthComponent aggregateContributions(ApiVersion apiVersion, Map<String,HealthComponent> contributions, StatusAggregator statusAggregator, boolean showComponents, Set<String> groupNames)
protected final CompositeHealth getCompositeHealth(ApiVersion apiVersion, Map<String,HealthComponent> components, StatusAggregator statusAggregator, boolean showComponents, Set<String> groupNames)