public class V1AdminServlet 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
Modifier | Constructor and Description |
---|---|
|
V1AdminServlet() |
protected |
V1AdminServlet(String name) |
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)
Get a json array of queue dump and a json array of unique map dump
|
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
protected V1AdminServlet(String name)
public V1AdminServlet()
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
json
- the result json object that contains a JSONArray for the callable dumpXServletException
org.apache.oozie.servlet.BaseAdminServlet#getQueueDump(org.json.simple
.JSONObject)
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.