@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. |
HealthEndpointWebExtension(HealthEndpoint delegate,
HealthWebEndpointResponseMapper responseMapper)
Deprecated.
since 2.2.0 in favor of
HealthEndpointWebExtension(HealthContributorRegistry, HealthEndpointGroups) |
Modifier and Type | Method and Description |
---|---|
protected HealthComponent |
aggregateContributions(ApiVersion apiVersion,
Map<String,HealthComponent> contributions,
StatusAggregator statusAggregator,
boolean showComponents,
Set<String> groupNames) |
protected CompositeHealth |
getCompositeHealth(ApiVersion apiVersion,
Map<String,HealthComponent> components,
StatusAggregator statusAggregator,
boolean showComponents,
Set<String> groupNames) |
protected HealthComponent |
getHealth(HealthContributor contributor,
boolean includeDetails) |
WebEndpointResponse<HealthComponent> |
health(ApiVersion apiVersion,
SecurityContext securityContext) |
WebEndpointResponse<HealthComponent> |
health(ApiVersion apiVersion,
SecurityContext securityContext,
boolean showAll,
String... path) |
WebEndpointResponse<HealthComponent> |
health(ApiVersion apiVersion,
SecurityContext securityContext,
String... path) |
@Deprecated public HealthEndpointWebExtension(HealthEndpoint delegate, HealthWebEndpointResponseMapper responseMapper)
HealthEndpointWebExtension(HealthContributorRegistry, HealthEndpointGroups)
HealthEndpointWebExtension
instance using a delegate endpoint.delegate
- the delegate endpointresponseMapper
- the response mapperpublic HealthEndpointWebExtension(HealthContributorRegistry registry, HealthEndpointGroups groups)
HealthEndpointWebExtension
instance.registry
- the health contributor registrygroups
- the health endpoint groups@ReadOperation public WebEndpointResponse<HealthComponent> health(ApiVersion apiVersion, SecurityContext securityContext)
@ReadOperation public WebEndpointResponse<HealthComponent> health(ApiVersion apiVersion, SecurityContext securityContext, @Selector(match=ALL_REMAINING) String... path)
public WebEndpointResponse<HealthComponent> health(ApiVersion apiVersion, 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)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.