public class SOAPResponse extends HTTPResponse
This class extends HTTPResponse to handle SOAP protocol responses used in UPnP control operations. It provides functionality for creating and parsing SOAP responses with proper XML formatting and envelope structure.
Key features:
This class is used by UPnP devices to send action invocation responses to control points, enabling structured XML responses through SOAP messaging over HTTP.
| Constructor and Description |
|---|
SOAPResponse()SOAPResponse. |
SOAPResponse(HTTPResponse httpRes)SOAPResponse. |
SOAPResponse(SOAPResponse soapRes)SOAPResponse. |
| Modifier and Type | Method and Description |
|---|---|
Node | getBodyNode()Get the SOAP body node. |
Node | getEnvelopeNode()Get the SOAP envelope node. |
String | getFaultActor()Get the SOAP fault actor string. |
Node | getFaultActorNode()Get the SOAP fault actor node. |
String | getFaultCode()Get the SOAP fault code string. |
Node | getFaultCodeNode()Get the SOAP fault code node. |
Node | getFaultDetailNode()Get the SOAP fault detail node. |
Node | getFaultNode()Get the SOAP fault node. |
String | getFaultString()Get the SOAP fault string. |
Node | getFaultStringNode()Get the SOAP fault string node. |
Node | getMethodResponseNode(String name)Get the method response node for the given name. |
void | print()print. |
void | setContent(Node node)Set the content from an XML node. |
void | setEnvelopeNode(Node node)Set the SOAP envelope node. |
getHeader, getStatusCode, getStatusLineString, isSuccessful, setStatusCode, 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 SOAPResponse()
public SOAPResponse(HTTPResponse httpRes)
public SOAPResponse(SOAPResponse soapRes)
public Node getBodyNode()
public Node getEnvelopeNode()
public String getFaultActor()
public Node getFaultActorNode()
public String getFaultCode()
public Node getFaultCodeNode()
public Node getFaultDetailNode()
public Node getFaultNode()
public String getFaultString()
public Node getFaultStringNode()
public Node getMethodResponseNode(String name)
name - the method namepublic void print()
print in class HTTPResponsepublic void setContent(Node node)
node - the XML node to set as contentpublic void setEnvelopeNode(Node node)
node - the envelope node to set