org.pentaho.platform.web.servlet
Class HttpWebService
java.lang.Object
HttpServlet
org.pentaho.platform.web.servlet.ServletBase
org.pentaho.platform.web.servlet.HttpWebService
- All Implemented Interfaces:
- 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"
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 |
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 |
HttpWebService
public HttpWebService()
getLogger
public Log getLogger()
- Specified by:
getLogger
in class ServletBase
getPayloadAsString
public String getPayloadAsString(HttpServletRequest request)
throws IOException
- Throws:
IOException
doGetFixMe
public void doGetFixMe(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Throws:
ServletException
IOException
writeDocumentAsSoapResponse
public void writeDocumentAsSoapResponse(OutputStream outputStream,
Document doc)
throws IOException
- Throws:
IOException
writeStringAsSoapResponse
public void writeStringAsSoapResponse(OutputStream outputStream,
String doc)
throws IOException
- Throws:
IOException
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws 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.
- Throws:
ServletException
IOException