| java.lang.Object | ||
| ↳ | com.google.gdata.client.http.HttpGDataRequest | |
| ↳ | com.google.gdata.client.http.GoogleGDataRequest | |
The GoogleGDataRequest class provides a basic implementation of an interface to connect with a Google-GData server.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| GoogleGDataRequest.Factory | The GoogleGDataRequest.Factory class is a factory class for constructing new GoogleGDataRequest instances. | ||||||||||
| GoogleGDataRequest.GoogleCookie | Google cookie. | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | DISABLE_COOKIE_HANDLER_PROPERTY | If set, this System property will globally disable interception and handling of cookies for all GData services. | |||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.client.http.HttpGDataRequest
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| activeService | Holds the GoogleService that is executing requests for the current execution thread. | ||||||||||
| googleCookieHandler | The global CookieHandler instance for GData services. | ||||||||||
| logger | |||||||||||
| responseVersion | The version associated with the response. | ||||||||||
| service | The GoogleService instance that constructed the request. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.client.http.HttpGDataRequest
| |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new GoogleGDataRequest instance of the specified
RequestType, targeting the specified URL with the specified
authentication token.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Executes the GData service request.
| |||||||||||
Returns the
Version that will be used to execute the request on the
target service or null if the service is not versioned. | |||||||||||
Returns the
Version that was used by the target service to execute
the request or null if the service is not versioned. | |||||||||||
Sets the GoogleService associated with the request.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Handles an error response received while executing a GData service request.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.client.http.HttpGDataRequest
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.client.Service.GDataRequest
| |||||||||||
If set, this System property will globally disable interception and handling of cookies for all GData services.
Holds the GoogleService that is executing requests for the current execution thread.
The global CookieHandler instance for GData services.
Constructs a new GoogleGDataRequest instance of the specified RequestType, targeting the specified URL with the specified authentication token.
| type | Type of GDataRequest |
|---|---|
| requestUrl | Request target URL |
| contentType | |
| authToken | Token authenticating request to server |
| headerMap | Map containing additional headers to set |
| privateHeaderMap | Map containing additional headers to set that should not be logged (eg. authentication info) |
| connectionSource |
| IOException | on error initializing service connection |
|---|
Returns the Version that will be used to execute the request on the
target service or null if the service is not versioned.
null.
Returns the Version that was used by the target service to execute
the request or null if the service is not versioned.
null.
Sets the GoogleService associated with the request.
| service |
|---|
Handles an error response received while executing a GData service request.
Throws a ServiceException or one of its subclasses, depending on
the failure conditions.
| IOException | |
|---|---|
| ServiceException |