Package org.cybergarage.soap
Class SOAPRequest
- java.lang.Object
-
- org.cybergarage.http.HTTPPacket
-
- org.cybergarage.http.HTTPRequest
-
- org.cybergarage.soap.SOAPRequest
-
- Direct Known Subclasses:
ControlRequest,NotifyRequest
public class SOAPRequest extends HTTPRequest
-
-
Constructor Summary
Constructors Constructor Description SOAPRequest()SOAPRequest(HTTPRequest httpReq)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodegetBodyNode()NodegetEnvelopeNode()StringgetSOAPAction()booleanisSOAPAction(String value)SOAPResponsepostMessage(String host, int port)voidprint()voidsetContent(Node node)voidsetEnvelopeNode(Node node)voidsetSOAPAction(String action)-
Methods inherited from class org.cybergarage.http.HTTPRequest
getFirstLineString, 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, toString
-
Methods inherited from class org.cybergarage.http.HTTPPacket
addHeader, 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, setHost, setIntegerHeader, setLongHeader, setServer, setStringHeader, setStringHeader, setTransferEncoding, setVersion
-
-
-
-
Constructor Detail
-
SOAPRequest
public SOAPRequest()
-
SOAPRequest
public SOAPRequest(HTTPRequest httpReq)
-
-
Method Detail
-
setSOAPAction
public void setSOAPAction(String action)
-
getSOAPAction
public String getSOAPAction()
-
isSOAPAction
public boolean isSOAPAction(String value)
-
postMessage
public SOAPResponse postMessage(String host, int port)
-
setEnvelopeNode
public void setEnvelopeNode(Node node)
-
getEnvelopeNode
public Node getEnvelopeNode()
-
getBodyNode
public Node getBodyNode()
-
setContent
public void setContent(Node node)
-
print
public void print()
- Overrides:
printin classHTTPRequest
-
-