org.pentaho.platform.web.servlet
Class HttpWebService
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.pentaho.platform.web.servlet.ServletBase
org.pentaho.platform.web.servlet.HttpWebService
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, ILogger
public class HttpWebService
- extends ServletBase
Servlet Class
web.servlet name="ViewAction" display-name="Name for ViewAction"
description="Description for ViewAction" web.servlet-mapping
url-pattern="/ViewAction" web.servlet-init-param name="A parameter" value="A
value"
- See Also:
- Serialized Form
Fields inherited from interface org.pentaho.platform.api.engine.ILogger |
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN |
Method Summary |
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)
|
org.apache.commons.logging.Log |
getLogger()
|
String |
getPayloadAsString(javax.servlet.http.HttpServletRequest request)
|
void |
writeDocumentAsSoapResponse(OutputStream outputStream,
org.dom4j.Document doc)
|
void |
writeStringAsSoapResponse(OutputStream outputStream,
String doc)
|
Methods inherited from class org.pentaho.platform.web.servlet.ServletBase |
debug, debug, error, error, fatal, fatal, getLoggingLevel, getObjectName, info, info, setLoggingLevel, trace, trace, warn, warn |
Methods inherited from class javax.servlet.http.HttpServlet |
service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
HttpWebService
public HttpWebService()
getLogger
public org.apache.commons.logging.Log getLogger()
- Specified by:
getLogger
in class ServletBase
getPayloadAsString
public String getPayloadAsString(javax.servlet.http.HttpServletRequest request)
throws IOException
- Throws:
IOException
doGetFixMe
public void doGetFixMe(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Throws:
javax.servlet.ServletException
IOException
writeDocumentAsSoapResponse
public void writeDocumentAsSoapResponse(OutputStream outputStream,
org.dom4j.Document doc)
throws IOException
- Throws:
IOException
writeStringAsSoapResponse
public void writeStringAsSoapResponse(OutputStream outputStream,
String doc)
throws IOException
- Throws:
IOException
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- 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.
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException