|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.httpclient.apache.httpcomponents.cache.FlushableHttpCacheStorageImpl
public final class FlushableHttpCacheStorageImpl
Originally copied from BasicHttpCacheStorage v4.1.2
Have added ability to flush cache
| Constructor Summary | |
|---|---|
FlushableHttpCacheStorageImpl(org.apache.http.impl.client.cache.CacheConfig config)
|
|
| Method Summary | |
|---|---|
void |
flushByUriPattern(Pattern urlPattern)
|
org.apache.http.client.cache.HttpCacheEntry |
getEntry(String url)
Gets an entry from the cache, if it exists |
void |
putEntry(String url,
org.apache.http.client.cache.HttpCacheEntry entry)
Places a HttpCacheEntry in the cache |
void |
removeEntry(String url)
Removes a HttpCacheEntry from the cache |
void |
updateEntry(String url,
org.apache.http.client.cache.HttpCacheUpdateCallback callback)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlushableHttpCacheStorageImpl(org.apache.http.impl.client.cache.CacheConfig config)
| Method Detail |
|---|
public void flushByUriPattern(Pattern urlPattern)
flushByUriPattern in interface FlushableHttpCacheStorage
public void putEntry(String url,
org.apache.http.client.cache.HttpCacheEntry entry)
throws IOException
putEntry in interface org.apache.http.client.cache.HttpCacheStorageurl - Url to use as the cache keyentry - HttpCacheEntry to place in the cache
IOExceptionpublic org.apache.http.client.cache.HttpCacheEntry getEntry(String url)
getEntry in interface org.apache.http.client.cache.HttpCacheStorageurl - Url that is the cache key
public void removeEntry(String url)
throws IOException
removeEntry in interface org.apache.http.client.cache.HttpCacheStorageurl - Url that is the cache key
IOException
public void updateEntry(String url,
org.apache.http.client.cache.HttpCacheUpdateCallback callback)
throws IOException
updateEntry in interface org.apache.http.client.cache.HttpCacheStorageIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||