com.atlassian.httpclient.apache.httpcomponents.cache
Class ForwardingHttpCacheStorage

java.lang.Object
  extended by com.google.common.collect.ForwardingObject
      extended by com.atlassian.httpclient.apache.httpcomponents.cache.ForwardingHttpCacheStorage
All Implemented Interfaces:
org.apache.http.client.cache.HttpCacheStorage
Direct Known Subclasses:
ForwardingFlushableHttpCacheStorage

public abstract class ForwardingHttpCacheStorage
extends com.google.common.collect.ForwardingObject
implements org.apache.http.client.cache.HttpCacheStorage


Constructor Summary
ForwardingHttpCacheStorage()
           
 
Method Summary
protected abstract  org.apache.http.client.cache.HttpCacheStorage delegate()
           
 org.apache.http.client.cache.HttpCacheEntry getEntry(java.lang.String key)
           
 void putEntry(java.lang.String key, org.apache.http.client.cache.HttpCacheEntry entry)
           
 void removeEntry(java.lang.String key)
           
 void updateEntry(java.lang.String key, org.apache.http.client.cache.HttpCacheUpdateCallback callback)
           
 
Methods inherited from class com.google.common.collect.ForwardingObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForwardingHttpCacheStorage

public ForwardingHttpCacheStorage()
Method Detail

delegate

protected abstract org.apache.http.client.cache.HttpCacheStorage delegate()
Specified by:
delegate in class com.google.common.collect.ForwardingObject

putEntry

public void putEntry(java.lang.String key,
                     org.apache.http.client.cache.HttpCacheEntry entry)
              throws java.io.IOException
Specified by:
putEntry in interface org.apache.http.client.cache.HttpCacheStorage
Throws:
java.io.IOException

getEntry

public org.apache.http.client.cache.HttpCacheEntry getEntry(java.lang.String key)
                                                     throws java.io.IOException
Specified by:
getEntry in interface org.apache.http.client.cache.HttpCacheStorage
Throws:
java.io.IOException

removeEntry

public void removeEntry(java.lang.String key)
                 throws java.io.IOException
Specified by:
removeEntry in interface org.apache.http.client.cache.HttpCacheStorage
Throws:
java.io.IOException

updateEntry

public void updateEntry(java.lang.String key,
                        org.apache.http.client.cache.HttpCacheUpdateCallback callback)
                 throws java.io.IOException,
                        org.apache.http.client.cache.HttpCacheUpdateException
Specified by:
updateEntry in interface org.apache.http.client.cache.HttpCacheStorage
Throws:
java.io.IOException
org.apache.http.client.cache.HttpCacheUpdateException


Copyright © 2012-2014 Atlassian. All Rights Reserved.