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