public class ActionRequest extends ControlRequest
| Constructor and Description |
|---|
ActionRequest()
Default constructor
|
ActionRequest(HTTPRequest httpReq)
Constructs an ActionRequest from an HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getActionName()
Gets the action name from the request.
|
Node |
getActionNode()
Gets the action node from the request.
|
ArgumentList |
getArgumentList()
Gets the argument list from the request.
|
ActionResponse |
post()
Posts the action request and gets the response.
|
void |
setRequest(Action action,
ArgumentList argList)
Sets the request with the specified action and argument list.
|
isActionControl, isQueryControl, setRequestHostgetBodyNode, getEnvelopeNode, getSOAPAction, isSOAPAction, postMessage, print, setContent, setEnvelopeNode, setSOAPActiongetFirstLineString, getHeader, getHTTPVersion, getLocalAddress, getLocalPort, getMethod, getParameterList, getParameterValue, getRequestHost, getRequestPort, getSocket, getURI, isGetRequest, isHeadRequest, isKeepAlive, isMethod, isNotifyRequest, isPostRequest, isSOAPAction, isSubscribeRequest, isUnsubscribeRequest, parseRequestLine, post, post, post, read, returnBadRequest, returnOK, returnResponse, set, setBindHost, setMethod, setRequestHost, setRequestPort, setSocket, setURI, setURI, toStringaddHeader, addHeader, clearHeaders, getCacheControl, getCharSet, getConnection, getContent, getContentInputStream, getContentLanguage, getContentLength, getContentRange, getContentRangeFirstPosition, getContentRangeInstanceLength, getContentRangeLastPosition, getContentString, getContentType, getDate, getFirstLine, getFirstLineToken, getHeader, getHeader, getHeaderString, getHeaderValue, getHost, getIntegerHeaderValue, getLongHeaderValue, getNHeaders, getServer, getStringHeaderValue, getStringHeaderValue, getTransferEncoding, getVersion, hasConnection, hasContent, hasContentInputStream, hasContentRange, hasFirstLine, hasHeader, hasTransferEncoding, init, isChunked, isCloseConnection, isKeepAliveConnection, read, set, set, set, set, setCacheControl, setCacheControl, setCacheControl, setConnection, setContent, setContent, setContent, setContent, setContentInputStream, setContentLanguage, setContentLength, setContentRange, setContentType, setDate, setHeader, setHeader, setHeader, setHeader, setHost, setIntegerHeader, setLongHeader, setServer, setStringHeader, setStringHeader, setTransferEncoding, setVersionpublic ActionRequest()
public ActionRequest(HTTPRequest httpReq)
httpReq - the HTTP request to wrappublic String getActionName()
public Node getActionNode()
public ArgumentList getArgumentList()
public ActionResponse post()
public void setRequest(Action action, ArgumentList argList)
action - the action to setargList - the argument list