Interface HttpCacheStorage

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​HttpCacheEntry> getEntries​(java.util.Collection<java.lang.String> keys)
      Retrieves multiple cache entries stored under the given keys.
      HttpCacheEntry getEntry​(java.lang.String key)
      Retrieves the cache entry stored under the given key or null if no entry exists under that key.
      void putEntry​(java.lang.String key, HttpCacheEntry entry)
      Store a given cache entry under the given key.
      void removeEntry​(java.lang.String key)
      Deletes/invalidates/removes any cache entries currently stored under the given key.
      void updateEntry​(java.lang.String key, HttpCacheCASOperation casOperation)
      Atomically applies the given callback to processChallenge an existing cache entry under a given key.