Module: vertx-health-checks-js/health_check_handler

Classes

HealthCheckHandler

Methods

(static) HealthCheckHandler.create(vertx, provider) → {HealthCheckHandler}

Creates an instance of the default implementation of the HealthCheckHandler. This function creates a new instance of HealthChecks.
Parameters:
Name Type Description
vertx Vertx the Vert.x instance, must not be null
provider AuthProvider the Authentication provider used to authenticate the HTTP request
Source:
Returns:
the created instance
Type
HealthCheckHandler

(static) HealthCheckHandler.createWithHealthChecks(hc, provider) → {HealthCheckHandler}

Creates an instance of the default implementation of the HealthCheckHandler.
Parameters:
Name Type Description
hc HealthChecks the health checks object to use, must not be null
provider AuthProvider
Source:
Returns:
the created instance
Type
HealthCheckHandler