public class AdminServlet
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_HEALTHCHECK_URI |
static String |
DEFAULT_METRICS_URI |
static String |
DEFAULT_PING_URI |
static String |
DEFAULT_THREADS_URI |
static String |
HEALTHCHECK_URI_PARAM_KEY |
static String |
METRICS_URI_PARAM_KEY |
static String |
PING_URI_PARAM_KEY |
static String |
SERVICE_NAME_PARAM_KEY |
static String |
THREADS_URI_PARAM_KEY |
Constructor and Description |
---|
AdminServlet() |
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) |
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
public static final String DEFAULT_HEALTHCHECK_URI
public static final String DEFAULT_METRICS_URI
public static final String DEFAULT_PING_URI
public static final String DEFAULT_THREADS_URI
public static final String METRICS_URI_PARAM_KEY
public static final String PING_URI_PARAM_KEY
public static final String THREADS_URI_PARAM_KEY
public static final String HEALTHCHECK_URI_PARAM_KEY
public static final String SERVICE_NAME_PARAM_KEY
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
Copyright © 2014. All Rights Reserved.