public abstract class ActionService extends CServlet
CONFIG_PLUGIN, DATABASE_SIG, plugin, REQUIRES_LOGIN, SSO_AUTHENTICATOR, SSO_ERROR, UNIQUE_ID
Constructor and Description |
---|
ActionService() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
doCommand(HttpClient client)
do a soap request
|
protected HTMLPage |
extProcess(java.lang.String type,
WebClient client)
Main processing of this servlet
|
protected org.w3c.dom.Document |
makeErrorDoc(SoapClient client,
org.w3c.dom.Document requestDoc,
java.lang.Throwable e)
a error occurred
|
protected SoapFault |
makeFault(SoapClient client,
org.w3c.dom.Document requestDoc,
java.lang.Throwable e)
make the fault
|
protected org.w3c.dom.Document |
makeResponseDoc(SoapClient client)
make the response ( haven't checked session yet)
|
protected org.w3c.dom.Document |
makeSecureResponseDoc(SoapClient client)
the session has been validated
|
protected void |
service(HttpServletRequest request,
HttpServletResponse response) |
protected void |
showNode(org.w3c.dom.Node node,
int depth)
show the node ( debug)
|
checkLayer, checkLogin, checkNTLM, doDelete, doError, doGet, doPost, doProcess, doProcess, doPut, extProcess, init, redirect, requiresLogin, showSecurityError, showServerDown, showTruncatedRequestError, sslHostURL, validatePageAllowed
@CheckReturnValue @Nonnull protected HTMLPage extProcess(@Nonnull java.lang.String type, @Nonnull WebClient client) throws java.lang.Exception
CServlet
extProcess
in class CServlet
type
- The request typeclient
- the clientjava.lang.Exception
- A serious problemprotected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
ServletException
java.io.IOException
public java.lang.Object doCommand(HttpClient client) throws java.lang.Exception
protected void showNode(org.w3c.dom.Node node, int depth)
node
- the nodedepth
- the depthprotected org.w3c.dom.Document makeResponseDoc(SoapClient client) throws java.lang.Exception
client
- the web clientjava.lang.Exception
- a serious problemprotected org.w3c.dom.Document makeSecureResponseDoc(SoapClient client) throws java.lang.Exception
client
- the clientjava.lang.Exception
- a serious problemprotected org.w3c.dom.Document makeErrorDoc(SoapClient client, org.w3c.dom.Document requestDoc, java.lang.Throwable e) throws java.lang.Exception
client
- the soap clientrequestDoc
- the requeste
- the exceptionjava.lang.Exception
- a serious problemprotected SoapFault makeFault(SoapClient client, org.w3c.dom.Document requestDoc, java.lang.Throwable e)
client
- the soap clientrequestDoc
- request documente
- the root exceptionstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.