@EndpointWebExtension(endpoint=HealthEndpoint.class) public class ReactiveHealthEndpointWebExtension extends Object
@EndpointWebExtension for the
HealthEndpoint.| Constructor and Description |
|---|
ReactiveHealthEndpointWebExtension(ReactiveHealthContributorRegistry registry,
HealthEndpointGroups groups)
Create a new
ReactiveHealthEndpointWebExtension instance. |
ReactiveHealthEndpointWebExtension(ReactiveHealthIndicator delegate,
HealthWebEndpointResponseMapper responseMapper)
Deprecated.
since 2.2.0 in favor of
ReactiveHealthEndpointWebExtension(ReactiveHealthContributorRegistry, HealthEndpointGroups) |
| Modifier and Type | Method and Description |
|---|---|
protected reactor.core.publisher.Mono<? extends HealthComponent> |
aggregateContributions(ApiVersion apiVersion,
Map<String,reactor.core.publisher.Mono<? extends 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 reactor.core.publisher.Mono<? extends HealthComponent> |
getHealth(ReactiveHealthContributor contributor,
boolean includeDetails) |
reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthComponent>> |
health(ApiVersion apiVersion,
SecurityContext securityContext) |
reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthComponent>> |
health(ApiVersion apiVersion,
SecurityContext securityContext,
boolean showAll,
String... path) |
reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthComponent>> |
health(ApiVersion apiVersion,
SecurityContext securityContext,
String... path) |
@Deprecated public ReactiveHealthEndpointWebExtension(ReactiveHealthIndicator delegate, HealthWebEndpointResponseMapper responseMapper)
ReactiveHealthEndpointWebExtension(ReactiveHealthContributorRegistry, HealthEndpointGroups)ReactiveHealthEndpointWebExtension instance.delegate - the delegate health indicatorresponseMapper - the response mapperpublic ReactiveHealthEndpointWebExtension(ReactiveHealthContributorRegistry registry, HealthEndpointGroups groups)
ReactiveHealthEndpointWebExtension instance.registry - the health contributor registrygroups - the health endpoint groups@ReadOperation public reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthComponent>> health(ApiVersion apiVersion, SecurityContext securityContext)
@ReadOperation public reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthComponent>> health(ApiVersion apiVersion, SecurityContext securityContext, @Selector(match=ALL_REMAINING) String... path)
public reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthComponent>> health(ApiVersion apiVersion, SecurityContext securityContext, boolean showAll, String... path)
protected reactor.core.publisher.Mono<? extends HealthComponent> getHealth(ReactiveHealthContributor contributor, boolean includeDetails)
protected reactor.core.publisher.Mono<? extends HealthComponent> aggregateContributions(ApiVersion apiVersion, Map<String,reactor.core.publisher.Mono<? extends 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 © 2019 Pivotal Software, Inc.. All rights reserved.