|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.httpclient.apache.httpcomponents.FlushableHttpCacheStorage
public class FlushableHttpCacheStorage
Originally copied from BasicHttpCacheStorage v4.1.2
Have added ability to flush cache
| Constructor Summary | |
|---|---|
FlushableHttpCacheStorage(org.apache.http.impl.client.cache.CacheConfig config)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlushableHttpCacheStorage(org.apache.http.impl.client.cache.CacheConfig config)
| Method Detail |
|---|
public void flushByUriPattern(java.util.regex.Pattern urlPattern)
public 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 cache
java.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 key
public void removeEntry(java.lang.String url)
throws java.io.IOException
removeEntry in interface org.apache.http.client.cache.HttpCacheStorageurl - Url that is the cache key
java.io.IOException
public 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.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||