org.apache.http.client.cache
Interface HttpCacheUpdateCallback


public interface HttpCacheUpdateCallback


Method Summary
 HttpCacheEntry update(HttpCacheEntry existing)
          Returns the new cache entry that should replace an existing one.
 

Method Detail

update

HttpCacheEntry update(HttpCacheEntry existing)
                      throws IOException
Returns the new cache entry that should replace an existing one.

Parameters:
existing - the cache entry current in-place in the cache, possibly null if nonexistent
Returns:
CacheEntry the cache entry that should replace it, again, possible null
Throws:
IOException
Since:
4.1


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