Interface HttpCacheStorage

All Known Implementing Classes:
BasicHttpCacheStorage, EhcacheHttpCacheStorage, ManagedHttpCacheStorage, MemcachedHttpCacheStorage

public interface HttpCacheStorage
New storage backends should implement this HttpCacheStorage interface. They can then be plugged into the existing CachingHttpClient implementation.
Since:
4.1
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the cache entry stored under the given key or null if no entry exists under that key.
    void
    Store a given cache entry under the given key.
    void
    Deletes/invalidates/removes any cache entries currently stored under the given key.
    void
    Atomically applies the given callback to update an existing cache entry under a given key.