Class HealthEndpointWebExtension
java.lang.Object
org.springframework.boot.actuate.health.HealthEndpointWebExtension
@EndpointWebExtension(endpoint=HealthEndpoint.class)
@ImportRuntimeHints(org.springframework.boot.actuate.health.HealthEndpointWebExtensionRuntimeHints.class)
public class HealthEndpointWebExtension
extends Object
@EndpointWebExtension for the HealthEndpoint.- Since:
- 2.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionHealthEndpointWebExtension(org.springframework.boot.health.registry.HealthContributorRegistry registry, @Nullable org.springframework.boot.health.registry.ReactiveHealthContributorRegistry fallbackRegistry, HealthEndpointGroups groups, @Nullable Duration slowContributorLoggingThreshold) Create a newHealthEndpointWebExtensioninstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected HealthDescriptoraggregateDescriptors(ApiVersion apiVersion, Map<String, HealthDescriptor> contributions, StatusAggregator statusAggregator, boolean showComponents, @Nullable Set<String> groupNames) health(ApiVersion apiVersion, @Nullable WebServerNamespace serverNamespace, SecurityContext securityContext, boolean showAll, String... path) health(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext) health(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext, String... path)
-
Constructor Details
-
HealthEndpointWebExtension
public HealthEndpointWebExtension(org.springframework.boot.health.registry.HealthContributorRegistry registry, @Nullable org.springframework.boot.health.registry.ReactiveHealthContributorRegistry fallbackRegistry, HealthEndpointGroups groups, @Nullable Duration slowContributorLoggingThreshold) Create a newHealthEndpointWebExtensioninstance.- 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 WebEndpointResponse<HealthDescriptor> health(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext) -
health
@ReadOperation public WebEndpointResponse<HealthDescriptor> health(ApiVersion apiVersion, WebServerNamespace serverNamespace, SecurityContext securityContext, @Selector(match=ALL_REMAINING) String... path) -
health
public WebEndpointResponse<HealthDescriptor> health(ApiVersion apiVersion, @Nullable WebServerNamespace serverNamespace, SecurityContext securityContext, boolean showAll, String... path) -
aggregateDescriptors
protected HealthDescriptor aggregateDescriptors(ApiVersion apiVersion, Map<String, HealthDescriptor> contributions, StatusAggregator statusAggregator, boolean showComponents, @Nullable Set<String> groupNames)
-