Package io.helidon.health
Class HealthSupport
- java.lang.Object
-
- io.helidon.health.HealthSupport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHealthSupport.BuilderFluent API builder forHealthSupport.
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_WEB_CONTEXTDefault web context root of the Health check endpoint.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HealthSupport.Builderbuilder()Get a builder to configure health support instance.static HealthSupportcreate()Create a new HealthSupport with no health checks configured.static HealthSupportcreate(Config config)Create a new HealthSupport with no health checks, configured from provided config.voidupdate(Routing.Rules rules)UpdatesRouting.Ruleswithhandlersrepresenting this service.
-
-
-
Field Detail
-
DEFAULT_WEB_CONTEXT
public static final String DEFAULT_WEB_CONTEXT
Default web context root of the Health check endpoint.- See Also:
- Constant Field Values
-
-
Method Detail
-
update
public void update(Routing.Rules rules)
Description copied from interface:ServiceUpdatesRouting.Ruleswithhandlersrepresenting this service.
-
builder
public static HealthSupport.Builder builder()
Get a builder to configure health support instance.- Returns:
- fluent API builder
-
create
public static HealthSupport create()
Create a new HealthSupport with no health checks configured. The endpoint will always returnUP.- Returns:
- health support configured with no health checks
-
create
public static HealthSupport create(Config config)
Create a new HealthSupport with no health checks, configured from provided config. The endpoint will always returnUP.- Parameters:
config- configuration of this health check, used only to getweb-contextproperty to configureHealthSupport.Builder.webContext(String)- Returns:
- health support configured with no health checks
-
-