Class ReactiveHealthEndpointWebExtension
java.lang.Object
org.springframework.boot.actuate.health.ReactiveHealthEndpointWebExtension
@EndpointWebExtension(endpoint=HealthEndpoint.class)
@ImportRuntimeHints(org.springframework.boot.actuate.health.HealthEndpointWebExtensionRuntimeHints.class)
public class ReactiveHealthEndpointWebExtension
extends Object
Reactive
@EndpointWebExtension for the
HealthEndpoint.- Since:
- 2.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionReactiveHealthEndpointWebExtension(org.springframework.boot.health.registry.ReactiveHealthContributorRegistry registry, @Nullable org.springframework.boot.health.registry.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(org.springframework.boot.health.registry.ReactiveHealthContributorRegistry registry, @Nullable org.springframework.boot.health.registry.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- Since:
- 4.0.0
-
-
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)
-