org.apache.http.client.cache.HttpCacheStorage |
Known Indirect Subclasses
|
Public Methods
Retrieves the cache entry stored under the given key
or null if no entry exists under that key.
public
abstract
void
putEntry
(String key, HttpCacheEntry entry)
Store a given cache entry under the given key.
Parameters
key
| where in the cache to store the entry |
entry
| cached response to store |
public
abstract
void
removeEntry
(String key)
Deletes/invalidates/removes any cache entries currently
stored under the given key.
Atomically applies the given callback to update an existing cache
entry under a given key.
Parameters
key
| indicates which entry to modify |
callback
| performs the update; see
HttpCacheUpdateCallback for details, but roughly the
callback expects to be handed the current entry and will return
the new value for the entry. |