| org.pentaho.ui.servlet.ServletBase org.pentaho.ui.servlet.HttpWebService
HttpWebService | public class HttpWebService extends ServletBase (Code) | | 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"
|
Method Summary | |
protected void | doACLs(HttpServletRequest request, HttpServletResponse response, StringBuffer buf) Returns XML for list of ACLs. | protected void | doAll(HttpServletRequest request, HttpServletResponse response, StringBuffer buf) Returns XML for lists of users, roles, and ACLs. | public void | doGet(HttpServletRequest request, HttpServletResponse response) | public void | doGetFixMe(HttpServletRequest request, HttpServletResponse response) | protected void | doPost(HttpServletRequest request, HttpServletResponse response) | protected void | doRoles(HttpServletRequest request, HttpServletResponse response, StringBuffer buf) Returns XML for list of roles. | protected void | doUsers(HttpServletRequest request, HttpServletResponse response, StringBuffer buf) Returns XML for list of users. | protected String | getDetailsParameter(HttpServletRequest request) Returns parameter named details either from query string
or body. | public Log | getLogger() | protected Map | getParameterMapFromPayload(String xml) | public String | getPayloadAsString(HttpServletRequest request) | protected boolean | hasActionInBody(HttpServletRequest request) Returns true if required parameter is in body of request. | protected boolean | hasActionInQueryString(HttpServletRequest request) Returns true if required parameter named action is in
query string. | protected boolean | isSecurityDetailsRequest(HttpServletRequest request) Returns true if the required parameter is either in the query string or
body. | public void | writeDocumentAsSoapResponse(OutputStream outputStream, Document doc) | public void | writeStringAsSoapResponse(OutputStream outputStream, String doc) |
HttpWebService | public HttpWebService()(Code) | | |
doGet | public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException(Code) | |
- 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.
|
getDetailsParameter | protected String getDetailsParameter(HttpServletRequest request)(Code) | | Returns parameter named details either from query string
or body. This parameter specifies how much information the caller wants
returned.
|
getLogger | public Log getLogger()(Code) | | |
getParameterMapFromPayload | protected Map getParameterMapFromPayload(String xml)(Code) | | |
hasActionInBody | protected boolean hasActionInBody(HttpServletRequest request)(Code) | | Returns true if required parameter is in body of request.
|
hasActionInQueryString | protected boolean hasActionInQueryString(HttpServletRequest request)(Code) | | Returns true if required parameter named action is in
query string.
|
isSecurityDetailsRequest | protected boolean isSecurityDetailsRequest(HttpServletRequest request)(Code) | | Returns true if the required parameter is either in the query string or
body.
|
Fields inherited from org.pentaho.ui.servlet.ServletBase | final public static boolean debug(Code)(Java Doc)
|
|
|