public class V2AdminServlet extends V1AdminServlet
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 |
---|
V2AdminServlet() |
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 |
sendInstrumentationResponse(javax.servlet.http.HttpServletResponse response,
Instrumentation instr) |
protected void |
sendMetricsResponse(javax.servlet.http.HttpServletResponse response) |
getQueueDump, populateOozieMode, setOozieMode
doGet, doPost, doPut, 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 V2AdminServlet()
protected JsonBean getJMSConnectionInfo(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws XServletException, IOException
BaseAdminServlet
getJMSConnectionInfo
in class V1AdminServlet
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 V1AdminServlet
XServletException
protected void sendMetricsResponse(javax.servlet.http.HttpServletResponse response) throws IOException, XServletException
sendMetricsResponse
in class V1AdminServlet
IOException
XServletException
protected void sendInstrumentationResponse(javax.servlet.http.HttpServletResponse response, Instrumentation instr) throws IOException, XServletException
sendInstrumentationResponse
in class BaseAdminServlet
IOException
XServletException
Copyright © 2018 Apache Software Foundation. All rights reserved.