GData JavaScript Client 2.0

Class google.gdata.client.TransportResponse

Object
   |
   +--google.gdata.client.TransportResponse

class google.gdata.client.TransportResponse

Defined in gdata.js


Constructor Summary
google.gdata.client.TransportResponse()
           
 
Method Summary
 void addHeader(<string> headerKey, <string> headerValue)
           Adds a header to the response.
 string getResponseHeader(<string> headerKey)
           Retrieves the header value with the given key.
 string getResponseText()
           Retreives the response text.
 string getResponseXml()
           Retreives the response text as xml.
 number getStatus()
           Retrieves the http status code of the response.
 string getStatusText()
           Retreives the text associated with the http status code of the response.
 void setResponseText( <string> responseText)
           Sets the response text.
 void setResponseXml( <string> responseXml)
           Sets the response text as xml.
 void setStatus(<number> status)
           Sets the http status code of the response.
 void setStatusText( <string> statusText)
           Sets the text associated with the http status code of the response.
<static> google.gdata.client.TransportResponse create(<Object> sourceResponse)
           Creates a google.gdata.client.TransportResponse object.

Constructor Detail

google.gdata.client.TransportResponse

google.gdata.client.TransportResponse()

Method Detail

addHeader

void addHeader(<string> headerKey, <string> headerValue)

getResponseHeader

string getResponseHeader(<string> headerKey)

getResponseText

string getResponseText()

getResponseXml

string getResponseXml()

getStatus

number getStatus()

getStatusText

string getStatusText()

setResponseText

void setResponseText( <string> responseText)

setResponseXml

void setResponseXml( <string> responseXml)

setStatus

void setStatus(<number> status)

setStatusText

void setStatusText( <string> statusText)

create

<static> google.gdata.client.TransportResponse create(<Object> sourceResponse)

GData JavaScript Client 2.0

Documentation generated by JSDoc on Tue Sep 22 18:28:55 2009