public final class FlushableHttpCacheStorageImpl extends java.lang.Object implements FlushableHttpCacheStorage
BasicHttpCacheStorage v4.1.2
Have added ability to flush cache| Constructor and Description |
|---|
FlushableHttpCacheStorageImpl(org.apache.http.impl.client.cache.CacheConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
flushByUriPattern(java.util.regex.Pattern urlPattern) |
org.apache.http.client.cache.HttpCacheEntry |
getEntry(java.lang.String url)
Gets an entry from the cache, if it exists
|
void |
putEntry(java.lang.String url,
org.apache.http.client.cache.HttpCacheEntry entry)
Places a HttpCacheEntry in the cache
|
void |
removeEntry(java.lang.String url)
Removes a HttpCacheEntry from the cache
|
void |
updateEntry(java.lang.String url,
org.apache.http.client.cache.HttpCacheUpdateCallback callback) |
public FlushableHttpCacheStorageImpl(org.apache.http.impl.client.cache.CacheConfig config)
public void flushByUriPattern(java.util.regex.Pattern urlPattern)
flushByUriPattern in interface FlushableHttpCacheStoragepublic void putEntry(java.lang.String url,
org.apache.http.client.cache.HttpCacheEntry entry)
throws java.io.IOException
putEntry in interface org.apache.http.client.cache.HttpCacheStorageurl - Url to use as the cache keyentry - HttpCacheEntry to place in the cachejava.io.IOExceptionpublic org.apache.http.client.cache.HttpCacheEntry getEntry(java.lang.String url)
getEntry in interface org.apache.http.client.cache.HttpCacheStorageurl - Url that is the cache keypublic void removeEntry(java.lang.String url)
throws java.io.IOException
removeEntry in interface org.apache.http.client.cache.HttpCacheStorageurl - Url that is the cache keyjava.io.IOExceptionpublic void updateEntry(java.lang.String url,
org.apache.http.client.cache.HttpCacheUpdateCallback callback)
throws java.io.IOException
updateEntry in interface org.apache.http.client.cache.HttpCacheStoragejava.io.IOExceptionCopyright © 2012-2013 Atlassian. All Rights Reserved.