public class HttpWebService extends ServletBase
debug
Constructor and Description |
---|
HttpWebService() |
Modifier and Type | Method and Description |
---|---|
protected void |
doChart(String actionPath,
org.pentaho.platform.api.engine.IParameterProvider parameterProvider,
OutputStream outputStream,
org.pentaho.platform.api.engine.IPentahoSession userSession) |
protected void |
doDial(String solutionName,
String actionPath,
String actionName,
org.pentaho.platform.api.engine.IParameterProvider parameterProvider,
OutputStream outputStream,
org.pentaho.platform.api.engine.IPentahoSession userSession) |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Make sure this request has required parameters either on query string or in body of post.
Make calls into
UserDetailsRoleListService instance for users and roles.
Make static call into PentahoAclEntry for ACLs.
Construct SOAP response.
|
void |
doGetFixMe(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doOtherChart(String actionPath,
org.pentaho.platform.api.engine.IParameterProvider parameterProvider,
OutputStream outputStream,
org.pentaho.platform.api.engine.IPentahoSession userSession) |
protected void |
doPieChart(String actionPath,
org.pentaho.platform.api.engine.IParameterProvider parameterProvider,
OutputStream outputStream,
org.pentaho.platform.api.engine.IPentahoSession userSession) |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected org.dom4j.Document |
getACLs()
Returns XML for list of ACLs.
|
protected String |
getDetailsParameter(javax.servlet.http.HttpServletRequest request)
Returns parameter named
details either from query string or body. |
org.apache.commons.logging.Log |
getLogger() |
protected Map |
getParameterMapFromPayload(String xml) |
String |
getPayloadAsString(javax.servlet.http.HttpServletRequest request) |
protected org.dom4j.Document |
getRoles()
Returns XML for list of roles.
|
protected org.dom4j.Document |
getUsers()
Returns XML for list of users.
|
protected boolean |
hasActionInBody(javax.servlet.http.HttpServletRequest request)
Returns true if required parameter is in body of request.
|
protected boolean |
hasActionInQueryString(javax.servlet.http.HttpServletRequest request)
Returns true if required parameter named
action is in query string. |
protected boolean |
isSecurityDetailsRequest(javax.servlet.http.HttpServletRequest request)
Returns true if the required parameter is either in the query string or body.
|
debug, debug, error, error, fatal, fatal, getLoggingLevel, getObjectName, getPentahoSession, info, info, setCorsHeaders, setLoggingLevel, trace, trace, warn, warn
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public org.apache.commons.logging.Log getLogger()
getLogger
in class ServletBase
public String getPayloadAsString(javax.servlet.http.HttpServletRequest request) throws IOException
IOException
public void doGetFixMe(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void doDial(String solutionName, String actionPath, String actionName, org.pentaho.platform.api.engine.IParameterProvider parameterProvider, OutputStream outputStream, org.pentaho.platform.api.engine.IPentahoSession userSession)
protected void doChart(String actionPath, org.pentaho.platform.api.engine.IParameterProvider parameterProvider, OutputStream outputStream, org.pentaho.platform.api.engine.IPentahoSession userSession)
protected void doPieChart(String actionPath, org.pentaho.platform.api.engine.IParameterProvider parameterProvider, OutputStream outputStream, org.pentaho.platform.api.engine.IPentahoSession userSession)
protected void doOtherChart(String actionPath, org.pentaho.platform.api.engine.IParameterProvider parameterProvider, OutputStream outputStream, org.pentaho.platform.api.engine.IPentahoSession userSession)
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
UserDetailsRoleListService
instance for users and roles.PentahoAclEntry
for ACLs.doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected boolean isSecurityDetailsRequest(javax.servlet.http.HttpServletRequest request)
protected String getDetailsParameter(javax.servlet.http.HttpServletRequest request)
details
either from query string or body. This parameter specifies how much
information the caller wants returned.protected boolean hasActionInBody(javax.servlet.http.HttpServletRequest request)
protected boolean hasActionInQueryString(javax.servlet.http.HttpServletRequest request)
action
is in query string.protected org.dom4j.Document getUsers() throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
protected org.dom4j.Document getRoles() throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
protected org.dom4j.Document getACLs() throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
Copyright © 2021 Hitachi Vantara. All rights reserved.