cybergarage-upnp
org.cybergarage.soap.SOAPResponse Class Reference
Inheritance diagram for org.cybergarage.soap.SOAPResponse:
org.cybergarage.http.HTTPResponse org.cybergarage.http.HTTPPacket org.cybergarage.upnp.control.ControlResponse org.cybergarage.upnp.control.ActionResponse org.cybergarage.upnp.control.QueryResponse

Public Member Functions

 SOAPResponse ()
 
 SOAPResponse (HTTPResponse httpRes)
 
 SOAPResponse (SOAPResponse soapRes)
 
void setEnvelopeNode (Node node)
 
Node getEnvelopeNode ()
 
Node getBodyNode ()
 
Node getMethodResponseNode (String name)
 
Node getFaultNode ()
 
Node getFaultCodeNode ()
 
Node getFaultStringNode ()
 
Node getFaultActorNode ()
 
Node getFaultDetailNode ()
 
String getFaultCode ()
 
String getFaultString ()
 
String getFaultActor ()
 
void setContent (Node node)
 
void print ()
 
- Public Member Functions inherited from org.cybergarage.http.HTTPResponse
 HTTPResponse ()
 
 HTTPResponse (HTTPResponse httpRes)
 
 HTTPResponse (InputStream in)
 
 HTTPResponse (HTTPSocket httpSock)
 
void setStatusCode (int code)
 
int getStatusCode ()
 
boolean isSuccessful ()
 
String getStatusLineString ()
 
String getHeader ()
 
String toString ()
 
- Public Member Functions inherited from org.cybergarage.http.HTTPPacket
 HTTPPacket ()
 
 HTTPPacket (HTTPPacket httpPacket)
 
 HTTPPacket (InputStream in)
 
void init ()
 
void setVersion (String ver)
 
String getVersion ()
 
boolean read (HTTPSocket httpSock)
 
boolean hasFirstLine ()
 
int getNHeaders ()
 
void addHeader (HTTPHeader header)
 
void addHeader (String name, String value)
 
HTTPHeader getHeader (int n)
 
HTTPHeader getHeader (String name)
 
void clearHeaders ()
 
boolean hasHeader (String name)
 
void setHeader (String name, String value)
 
void setHeader (String name, int value)
 
void setHeader (String name, long value)
 
void setHeader (HTTPHeader header)
 
String getHeaderValue (String name)
 
void setStringHeader (String name, String value, String startWidth, String endWidth)
 
void setStringHeader (String name, String value)
 
String getStringHeaderValue (String name, String startWidth, String endWidth)
 
String getStringHeaderValue (String name)
 
void setIntegerHeader (String name, int value)
 
void setLongHeader (String name, long value)
 
int getIntegerHeaderValue (String name)
 
long getLongHeaderValue (String name)
 
String getHeaderString ()
 
void setContent (byte data[], boolean updateWithContentLength)
 
void setContent (byte data[])
 
void setContent (String data, boolean updateWithContentLength)
 
void setContent (String data)
 
byte[] getContent ()
 
String getContentString ()
 
boolean hasContent ()
 
void setContentInputStream (InputStream in)
 
InputStream getContentInputStream ()
 
boolean hasContentInputStream ()
 
void setContentType (String type)
 
String getContentType ()
 
void setContentLanguage (String code)
 
String getContentLanguage ()
 
String getCharSet ()
 
void setContentLength (long len)
 
long getContentLength ()
 
boolean hasConnection ()
 
void setConnection (String value)
 
String getConnection ()
 
boolean isCloseConnection ()
 
boolean isKeepAliveConnection ()
 
boolean hasContentRange ()
 
void setContentRange (long firstPos, long lastPos, long length)
 
long[] getContentRange ()
 
long getContentRangeFirstPosition ()
 
long getContentRangeLastPosition ()
 
long getContentRangeInstanceLength ()
 
void setCacheControl (String directive)
 
void setCacheControl (String directive, int value)
 
void setCacheControl (int value)
 
String getCacheControl ()
 
void setServer (String name)
 
String getServer ()
 
void setHost (String host, int port)
 
void setHost (String host)
 
String getHost ()
 
void setDate (Calendar cal)
 
String getDate ()
 
boolean hasTransferEncoding ()
 
void setTransferEncoding (String value)
 
String getTransferEncoding ()
 
boolean isChunked ()
 

Private Member Functions

void setRootNode (Node node)
 
Node getRootNode ()
 

Private Attributes

Node rootNode
 

Additional Inherited Members

- Protected Member Functions inherited from org.cybergarage.http.HTTPPacket
boolean set (InputStream in, boolean onlyHeaders)
 
boolean set (InputStream in)
 
boolean set (HTTPSocket httpSock)
 
void set (HTTPPacket httpPacket)
 
String getFirstLine ()
 
String getFirstLineToken (int num)
 

Constructor & Destructor Documentation

◆ SOAPResponse() [1/3]

org.cybergarage.soap.SOAPResponse.SOAPResponse ( )
inline

◆ SOAPResponse() [2/3]

org.cybergarage.soap.SOAPResponse.SOAPResponse ( HTTPResponse httpRes)
inline

◆ SOAPResponse() [3/3]

org.cybergarage.soap.SOAPResponse.SOAPResponse ( SOAPResponse soapRes)
inline

Member Function Documentation

◆ getBodyNode()

Node org.cybergarage.soap.SOAPResponse.getBodyNode ( )
inline

◆ getEnvelopeNode()

Node org.cybergarage.soap.SOAPResponse.getEnvelopeNode ( )
inline

◆ getFaultActor()

String org.cybergarage.soap.SOAPResponse.getFaultActor ( )
inline

◆ getFaultActorNode()

Node org.cybergarage.soap.SOAPResponse.getFaultActorNode ( )
inline

◆ getFaultCode()

String org.cybergarage.soap.SOAPResponse.getFaultCode ( )
inline

◆ getFaultCodeNode()

Node org.cybergarage.soap.SOAPResponse.getFaultCodeNode ( )
inline

◆ getFaultDetailNode()

Node org.cybergarage.soap.SOAPResponse.getFaultDetailNode ( )
inline

◆ getFaultNode()

Node org.cybergarage.soap.SOAPResponse.getFaultNode ( )
inline

◆ getFaultString()

String org.cybergarage.soap.SOAPResponse.getFaultString ( )
inline

◆ getFaultStringNode()

Node org.cybergarage.soap.SOAPResponse.getFaultStringNode ( )
inline

◆ getMethodResponseNode()

Node org.cybergarage.soap.SOAPResponse.getMethodResponseNode ( String name)
inline

◆ getRootNode()

Node org.cybergarage.soap.SOAPResponse.getRootNode ( )
inlineprivate

◆ print()

void org.cybergarage.soap.SOAPResponse.print ( )
inline

Reimplemented from org.cybergarage.http.HTTPResponse.

◆ setContent()

void org.cybergarage.soap.SOAPResponse.setContent ( Node node)
inline

◆ setEnvelopeNode()

void org.cybergarage.soap.SOAPResponse.setEnvelopeNode ( Node node)
inline

◆ setRootNode()

void org.cybergarage.soap.SOAPResponse.setRootNode ( Node node)
inlineprivate

Field Documentation

◆ rootNode

Node org.cybergarage.soap.SOAPResponse.rootNode
private

The documentation for this class was generated from the following file: