public abstract class CacheStorage extends Object implements org.apache.http.client.cache.HttpCacheStorage
Constructor and Description |
---|
CacheStorage() |
Modifier and Type | Method and Description |
---|---|
org.apache.http.client.cache.HttpCacheEntry |
getEntry(String key) |
abstract void |
init(Properties properties) |
void |
putEntry(String key,
org.apache.http.client.cache.HttpCacheEntry entry) |
void |
removeEntry(String key) |
void |
setImpl(org.apache.http.client.cache.HttpCacheStorage impl) |
void |
updateEntry(String key,
org.apache.http.client.cache.HttpCacheUpdateCallback callback) |
public abstract void init(Properties properties)
public void putEntry(String key, org.apache.http.client.cache.HttpCacheEntry entry) throws IOException
putEntry
in interface org.apache.http.client.cache.HttpCacheStorage
IOException
public org.apache.http.client.cache.HttpCacheEntry getEntry(String key) throws IOException
getEntry
in interface org.apache.http.client.cache.HttpCacheStorage
IOException
public void removeEntry(String key) throws IOException
removeEntry
in interface org.apache.http.client.cache.HttpCacheStorage
IOException
public void updateEntry(String key, org.apache.http.client.cache.HttpCacheUpdateCallback callback) throws IOException, org.apache.http.client.cache.HttpCacheUpdateException
updateEntry
in interface org.apache.http.client.cache.HttpCacheStorage
IOException
org.apache.http.client.cache.HttpCacheUpdateException
public void setImpl(org.apache.http.client.cache.HttpCacheStorage impl)
Copyright © 2008–2018. All rights reserved.