vertx / io.vertx.ext.healthchecks / HealthCheckHandler / create

create

open static fun create(vertx: Vertx, provider: AuthProvider): HealthCheckHandler

Creates an instance of the default implementation of the HealthCheckHandler. This function creates a new instance of HealthChecks.

Parameters

vertx - the Vert.x instance, must not be null

provider - the Authentication provider used to authenticate the HTTP request

Return
the created instance

open static fun create(vertx: Vertx): HealthCheckHandler

Creates an instance of the default implementation of the HealthCheckHandler. This function creates a new instance of HealthChecks.

Parameters

vertx - the Vert.x instance, must not be null

Return
the created instance