public class SOAPRequest extends HTTPRequest
This class extends HTTPRequest to handle SOAP protocol messages used in UPnP control operations. It provides functionality for creating and parsing SOAP requests with proper XML formatting and SOAP action headers.
Key features:
This class is used by UPnP control points to send action invocation requests to UPnP devices, enabling remote procedure calls through SOAP messaging over HTTP.
| Constructor and Description |
|---|
SOAPRequest() |
SOAPRequest(HTTPRequest httpReq) |
| Modifier and Type | Method and Description |
|---|---|
Node |
getBodyNode() |
Node |
getEnvelopeNode() |
String |
getSOAPAction() |
boolean |
isSOAPAction(String value) |
SOAPResponse |
postMessage(String host,
int port) |
void |
print()
Prints the HTTP request to the debug message stream.
|
void |
setContent(Node node) |
void |
setEnvelopeNode(Node node) |
void |
setSOAPAction(String action) |
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, 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 SOAPRequest()
public SOAPRequest(HTTPRequest httpReq)
public Node getBodyNode()
public Node getEnvelopeNode()
public String getSOAPAction()
public boolean isSOAPAction(String value)
public SOAPResponse postMessage(String host, int port)
public void print()
HTTPRequestThis method outputs the complete HTTP request including headers and content to the debug logging system using Debug.message(). Useful for debugging HTTP request processing.
print in class HTTPRequestpublic void setContent(Node node)
public void setEnvelopeNode(Node node)
public void setSOAPAction(String action)