public class StatusServlet extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description | 
|---|---|
static String | 
PARAM  | 
static String | 
PARAM_RELOAD  | 
static String | 
PARAM_STARTED  | 
static String | 
PARAM_SUMMARY  | 
static String | 
PARAM_SUMMARY_KEY  | 
static String | 
PROBE_PARAM  | 
| Constructor and Description | 
|---|
StatusServlet()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
doGet(javax.servlet.http.HttpServletRequest req,
     javax.servlet.http.HttpServletResponse resp)  | 
protected void | 
doPost(javax.servlet.http.HttpServletRequest req,
      javax.servlet.http.HttpServletResponse resp)  | 
protected HealthCheckResult | 
getOrRunHealthCheck(String probe)  | 
protected void | 
getStartedInfo(StringBuilder response)  | 
protected void | 
getSummaryInfo(StringBuilder response)  | 
void | 
init()  | 
protected void | 
sendHealthCheckResponse(javax.servlet.http.HttpServletResponse resp,
                       HealthCheckResult result)  | 
protected void | 
sendResponse(javax.servlet.http.HttpServletResponse resp,
            String response)  | 
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String PARAM
public static final String PARAM_STARTED
public static final String PARAM_SUMMARY
public static final String PARAM_SUMMARY_KEY
public static final String PARAM_RELOAD
public static final String PROBE_PARAM
public StatusServlet()
protected 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.ServletExceptionIOExceptionprotected void sendHealthCheckResponse(javax.servlet.http.HttpServletResponse resp, HealthCheckResult result) throws IOException
IOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void sendResponse(javax.servlet.http.HttpServletResponse resp, String response) throws IOException
IOExceptionprotected void getSummaryInfo(StringBuilder response)
protected void getStartedInfo(StringBuilder response)
public void init() throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected HealthCheckResult getOrRunHealthCheck(String probe)
Copyright © 2019 Nuxeo. All rights reserved.