@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. |
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) |
public 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)