org.apache.http.client.cache
Interface HttpCacheStorage

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

public interface HttpCacheStorage

Since:
4.1

Method Summary
 HttpCacheEntry getEntry(String key)
           
 void putEntry(String key, HttpCacheEntry entry)
           
 void removeEntry(String key)
           
 void updateEntry(String key, HttpCacheUpdateCallback callback)
           
 

Method Detail

putEntry

void putEntry(String key,
              HttpCacheEntry entry)
              throws IOException
Throws:
IOException

getEntry

HttpCacheEntry getEntry(String key)
                        throws IOException
Throws:
IOException

removeEntry

void removeEntry(String key)
                 throws IOException
Throws:
IOException

updateEntry

void updateEntry(String key,
                 HttpCacheUpdateCallback callback)
                 throws IOException,
                        HttpCacheUpdateException
Throws:
IOException
HttpCacheUpdateException


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.