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(HTTPResponse httpRes) |
SOAPResponse(SOAPResponse soapRes) |
| Modifier and Type | Method and Description |
|---|---|
Node |
getBodyNode() |
Node |
getEnvelopeNode() |
String |
getFaultActor() |
Node |
getFaultActorNode() |
String |
getFaultCode() |
Node |
getFaultCodeNode() |
Node |
getFaultDetailNode() |
Node |
getFaultNode() |
String |
getFaultString() |
Node |
getFaultStringNode() |
Node |
getMethodResponseNode(String name) |
void |
print() |
void |
setContent(Node node) |
void |
setEnvelopeNode(Node 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 void print()
print in class HTTPResponsepublic void setContent(Node node)
public void setEnvelopeNode(Node node)