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

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

public final class LoggingHttpCacheStorage
extends ForwardingFlushableHttpCacheStorage


Constructor Summary
LoggingHttpCacheStorage(FlushableHttpCacheStorage httpCacheStorage)
           
 
Method Summary
protected  FlushableHttpCacheStorage delegate()
           
 void flushByUriPattern(Pattern urlPattern)
           
 org.apache.http.client.cache.HttpCacheEntry getEntry(String key)
           
 void putEntry(String key, org.apache.http.client.cache.HttpCacheEntry entry)
           
 void removeEntry(String key)
           
 void updateEntry(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

LoggingHttpCacheStorage

public LoggingHttpCacheStorage(FlushableHttpCacheStorage httpCacheStorage)
Method Detail

delegate

protected FlushableHttpCacheStorage delegate()
Specified by:
delegate in class ForwardingFlushableHttpCacheStorage

flushByUriPattern

public void flushByUriPattern(Pattern urlPattern)
Specified by:
flushByUriPattern in interface FlushableHttpCacheStorage
Overrides:
flushByUriPattern in class ForwardingFlushableHttpCacheStorage

putEntry

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

getEntry

public org.apache.http.client.cache.HttpCacheEntry getEntry(String key)
                                                     throws IOException
Specified by:
getEntry in interface org.apache.http.client.cache.HttpCacheStorage
Overrides:
getEntry in class ForwardingHttpCacheStorage
Throws:
IOException

removeEntry

public void removeEntry(String key)
                 throws IOException
Specified by:
removeEntry in interface org.apache.http.client.cache.HttpCacheStorage
Overrides:
removeEntry in class ForwardingHttpCacheStorage
Throws:
IOException

updateEntry

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


Copyright © 2012–2015 Atlassian. All rights reserved.