Class ReactiveHealthEndpointWebExtension
java.lang.Object
org.springframework.boot.health.actuate.endpoint.ReactiveHealthEndpointWebExtension
@EndpointWebExtension(endpoint=HealthEndpoint.class)
@ImportRuntimeHints(org.springframework.boot.health.actuate.endpoint.HealthEndpointWebExtensionRuntimeHints.class)
public class ReactiveHealthEndpointWebExtension
extends Object
Reactive
@EndpointWebExtension for the
HealthEndpoint.- Since:
- 4.0.0
- Author:
- Stephane Nicoll, Phillip Webb, Scott Frederick
-
Constructor Summary
ConstructorsConstructorDescriptionReactiveHealthEndpointWebExtension(ReactiveHealthContributorRegistry registry, @Nullable HealthContributorRegistry fallbackRegistry, HealthEndpointGroups groups, @Nullable Duration slowContributorLoggingThreshold) Create a newReactiveHealthEndpointWebExtensioninstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<? extends HealthDescriptor> aggregateDescriptors(ApiVersion apiVersion, Map<String, reactor.core.publisher.Mono<? extends HealthDescriptor>> contributions, StatusAggregator statusAggregator, boolean showComponents, @Nullable Set<String> groupNames) reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthDescriptor>> health(ApiVersion apiVersion, @Nullable WebServerNamespace serverNamespace, SecurityContext securityContext) reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthDescriptor>> health(ApiVersion apiVersion, @Nullable WebServerNamespace serverNamespace, SecurityContext securityContext, boolean showAll, String... path) reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthDescriptor>> health(ApiVersion apiVersion, @Nullable WebServerNamespace serverNamespace, SecurityContext securityContext, String... path)
-
Constructor Details
-
ReactiveHealthEndpointWebExtension
public ReactiveHealthEndpointWebExtension(ReactiveHealthContributorRegistry registry, @Nullable HealthContributorRegistry fallbackRegistry, HealthEndpointGroups groups, @Nullable Duration slowContributorLoggingThreshold) Create a newReactiveHealthEndpointWebExtensioninstance.- Parameters:
registry- the health contributor registryfallbackRegistry- the fallback registry ornullgroups- the health endpoint groupsslowContributorLoggingThreshold- duration after which slow health indicator logging should occur
-
-
Method Details
-
health
@ReadOperation public reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthDescriptor>> health(ApiVersion apiVersion, @Nullable WebServerNamespace serverNamespace, SecurityContext securityContext) -
health
@ReadOperation public reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthDescriptor>> health(ApiVersion apiVersion, @Nullable WebServerNamespace serverNamespace, SecurityContext securityContext, @Selector(match=ALL_REMAINING) String... path) -
health
public reactor.core.publisher.Mono<WebEndpointResponse<? extends HealthDescriptor>> health(ApiVersion apiVersion, @Nullable WebServerNamespace serverNamespace, SecurityContext securityContext, boolean showAll, String... path) -
aggregateDescriptors
protected reactor.core.publisher.Mono<? extends HealthDescriptor> aggregateDescriptors(ApiVersion apiVersion, Map<String, reactor.core.publisher.Mono<? extends HealthDescriptor>> contributions, StatusAggregator statusAggregator, boolean showComponents, @Nullable Set<String> groupNames)
-