Package io.helidon.health
Class HealthSupport
- java.lang.Object
-
- io.helidon.health.HealthSupport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HealthSupport.Builder
Fluent API builder forHealthSupport
.
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_WEB_CONTEXT
Default 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.Builder
builder()
Get a builder to configure health support instance.static HealthSupport
create()
Create a new HealthSupport with no health checks configured.static HealthSupport
create(Config config)
Create a new HealthSupport with no health checks, configured from provided config.void
update(Routing.Rules rules)
UpdatesRouting.Rules
withhandlers
representing 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:Service
UpdatesRouting.Rules
withhandlers
representing 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-context
property to configureHealthSupport.Builder.webContext(String)
- Returns:
- health support configured with no health checks
-
-