cz.geek.gdata.client
Class CachingRequestFactory
java.lang.Object
com.google.gdata.client.http.HttpGDataRequest.Factory
com.google.gdata.client.http.GoogleGDataRequest.Factory
cz.geek.gdata.client.CachingRequestFactory
- All Implemented Interfaces:
- com.google.gdata.client.Service.GDataRequestFactory
public class CachingRequestFactory
- extends com.google.gdata.client.http.GoogleGDataRequest.Factory
| Fields inherited from class com.google.gdata.client.http.HttpGDataRequest.Factory |
authToken, connectionSource, headerMap, privateHeaderMap, useSsl |
|
Method Summary |
com.google.gdata.client.Service.GDataRequest |
getRequest(com.google.gdata.client.Service.GDataRequest.RequestType type,
URL requestUrl,
com.google.gdata.util.ContentType contentType)
|
| Methods inherited from class com.google.gdata.client.http.GoogleGDataRequest.Factory |
createRequest |
| Methods inherited from class com.google.gdata.client.http.HttpGDataRequest.Factory |
getRequest, setAuthToken, setAuthToken, setConnectionSource, setHeader, setPrivateHeader, useSsl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingRequestFactory
public CachingRequestFactory(cz.geek.cache.Cache<String,CachedResponse> cache)
getRequest
public com.google.gdata.client.Service.GDataRequest getRequest(com.google.gdata.client.Service.GDataRequest.RequestType type,
URL requestUrl,
com.google.gdata.util.ContentType contentType)
throws IOException,
com.google.gdata.util.ServiceException
- Specified by:
getRequest in interface com.google.gdata.client.Service.GDataRequestFactory- Overrides:
getRequest in class com.google.gdata.client.http.HttpGDataRequest.Factory
- Throws:
IOException
com.google.gdata.util.ServiceException
Copyright © 2011. All Rights Reserved.