public class V0AdminServlet extends BaseAdminServlet
JsonRestServlet.ParameterInfo, JsonRestServlet.ResourceInfo
modeTag
AUDIT_ERROR_CODE, AUDIT_ERROR_MESSAGE, AUDIT_HTTP_STATUS_CODE, AUDIT_OPERATION, AUDIT_PARAM, AUTH_TOKEN, INSTRUMENTATION_GROUP, TEXT_UTF8, UNDEF, USER_NAME, XML_UTF8
Constructor and Description |
---|
V0AdminServlet() |
Modifier and Type | Method and Description |
---|---|
protected JsonBean |
getJMSConnectionInfo(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Get JMS connection Info
|
protected Map<String,String> |
getOozieURLs() |
protected void |
getQueueDump(org.json.simple.JSONObject json) |
protected void |
populateOozieMode(org.json.simple.JSONObject json) |
protected void |
sendMetricsResponse(javax.servlet.http.HttpServletResponse response) |
protected void |
setOozieMode(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String resourceName) |
doGet, doPost, doPut, sendInstrumentationResponse, updateShareLib
addCron, getContentType, getProxyUser, getResourceName, getUser, incrCounter, init, sendErrorResponse, sendJsonResponse, sendJsonResponse, service, setAllowSafeModeChanges, setLogInfo, startCron, stopCron, validateContentType, validateRestUrl
doDelete, doHead, doOptions, doTrace, getLastModified, service
public V0AdminServlet()
protected void populateOozieMode(org.json.simple.JSONObject json)
populateOozieMode
in class BaseAdminServlet
protected void setOozieMode(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String resourceName) throws XServletException
setOozieMode
in class BaseAdminServlet
XServletException
protected void getQueueDump(org.json.simple.JSONObject json) throws XServletException
getQueueDump
in class BaseAdminServlet
XServletException
protected JsonBean getJMSConnectionInfo(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws XServletException, IOException
BaseAdminServlet
request
- the requestresponse
- the responseXServletException
- in case of any servlet errorIOException
- in case of any IO errorprotected Map<String,String> getOozieURLs() throws XServletException
getOozieURLs
in class BaseAdminServlet
XServletException
protected void sendMetricsResponse(javax.servlet.http.HttpServletResponse response) throws IOException, XServletException
sendMetricsResponse
in class BaseAdminServlet
IOException
XServletException
Copyright © 2018 Apache Software Foundation. All rights reserved.