org.apache.http.client.cache
Interface HttpCache<E>

All Known Implementing Classes:
BasicHttpCache

public interface HttpCache<E>

Since:
4.1

Method Summary
 E getEntry(String url)
           
 void putEntry(String url, E entry)
           
 void removeEntry(String url)
           
 void updateCacheEntry(String url, HttpCacheUpdateCallback<E> callback)
           
 

Method Detail

putEntry

void putEntry(String url,
              E entry)
              throws HttpCacheOperationException
Throws:
HttpCacheOperationException

getEntry

E getEntry(String url)
           throws HttpCacheOperationException
Throws:
HttpCacheOperationException

removeEntry

void removeEntry(String url)
                 throws HttpCacheOperationException
Throws:
HttpCacheOperationException

updateCacheEntry

void updateCacheEntry(String url,
                      HttpCacheUpdateCallback<E> callback)
                      throws HttpCacheOperationException
Throws:
HttpCacheOperationException


Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.