public class HealthCheckServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Class and Description |
|---|---|
static class |
HealthCheckServlet.ContextListener |
| Modifier and Type | Field and Description |
|---|---|
static String |
HEALTH_CHECK_EXECUTOR |
static String |
HEALTH_CHECK_REGISTRY |
| Constructor and Description |
|---|
HealthCheckServlet() |
HealthCheckServlet(com.codahale.metrics.health.HealthCheckRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
init(javax.servlet.ServletConfig config) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic static final String HEALTH_CHECK_REGISTRY
public static final String HEALTH_CHECK_EXECUTOR
public HealthCheckServlet()
public HealthCheckServlet(com.codahale.metrics.health.HealthCheckRegistry registry)
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2015. All Rights Reserved.