|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.client.http.HttpGDataRequest
com.google.gdata.client.http.GoogleGDataRequest
public class GoogleGDataRequest
The GoogleGDataRequest class provides a basic implementation of an interface to connect with a Google-GData server.
Nested Class Summary | |
---|---|
static class |
GoogleGDataRequest.Factory
The GoogleGDataRequest.Factory class is a factory class for constructing new GoogleGDataRequest instances. |
static class |
GoogleGDataRequest.GoogleCookie
Google cookie. |
Nested classes/interfaces inherited from interface com.google.gdata.client.Service.GDataRequest |
---|
Service.GDataRequest.RequestType |
Field Summary | |
---|---|
static java.lang.String |
DISABLE_COOKIE_HANDLER_PROPERTY
If set, this System property will globally disable interception and handling of cookies for all GData services. |
Fields inherited from class com.google.gdata.client.http.HttpGDataRequest |
---|
METHOD_OVERRIDE_HEADER, METHOD_OVERRIDE_PROPERTY |
Method Summary | |
---|---|
void |
execute()
Executes the GData service request. |
Version |
getRequestVersion()
Returns the Version that will be used to execute the request on the
target service or null if the service is not versioned. |
Version |
getResponseVersion()
Returns the Version that was used by the target service to execute
the request or null if the service is not versioned. |
void |
setService(GoogleService service)
Sets the GoogleService associated with the request. |
Methods inherited from class com.google.gdata.client.http.HttpGDataRequest |
---|
end, getConnection, getParseSource, getRequestContentType, getRequestStream, getRequestUrl, getRequestWriter, getResponseContentType, getResponseDateHeader, getResponseHeader, getResponseStream, setConnectTimeout, setEtag, setHeader, setIfModifiedSince, setMethod, setPrivateHeader, setReadTimeout |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DISABLE_COOKIE_HANDLER_PROPERTY
Method Detail |
---|
public Version getRequestVersion()
Version
that will be used to execute the request on the
target service or null
if the service is not versioned.
null
.public Version getResponseVersion()
Version
that was used by the target service to execute
the request or null
if the service is not versioned.
null
.public void setService(GoogleService service)
public void execute() throws java.io.IOException, ServiceException
Service.GDataRequest
execute
in interface Service.GDataRequest
execute
in class HttpGDataRequest
java.io.IOException
- error writing to or reading from GData service.
ResourceNotFoundException
- invalid request
target resource.
ServiceException
- system error executing request.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |