cz.geek.gdata.client
Class CachingRequestFactory

java.lang.Object
  extended by com.google.gdata.client.http.HttpGDataRequest.Factory
      extended by com.google.gdata.client.http.GoogleGDataRequest.Factory
          extended by 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


Field Summary
 
Fields inherited from class com.google.gdata.client.http.HttpGDataRequest.Factory
authToken, connectionSource, headerMap, privateHeaderMap, useSsl
 
Constructor Summary
CachingRequestFactory(cz.geek.cache.Cache<String,CachedResponse> cache)
           
 
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
 

Constructor Detail

CachingRequestFactory

public CachingRequestFactory(cz.geek.cache.Cache<String,CachedResponse> cache)
Method Detail

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 © 2010. All Rights Reserved.