public class HealthCheckEndpoint
extends ratpack.path.internal.PathHandler
The Handler is constructed with a PathBinder
and has an optional name
token.
All health checks or a specific health check is run depending on whether the name
token is provided or not.
For exmaple, if the Handler is bound to the path health-check
then...
All health checks can be run by sending a request to /health-check
A health check called foo
can be run by sending a request to /health-check/foo
CodaHaleMetricsModule.healthChecks()
Constructor and Description |
---|
HealthCheckEndpoint(PathBinder binding) |
public HealthCheckEndpoint(PathBinder binding)