public interface HttpCacheUpdateCallback
HttpCacheStorage
implementation. The current entry (if any) is fed into an implementation
of this interface, and the new, possibly updated entry (if any)
should be returned.Modifier and Type | Method and Description |
---|---|
HttpCacheEntry |
update(HttpCacheEntry existing)
Returns the new cache entry that should replace an existing one.
|
HttpCacheEntry update(HttpCacheEntry existing) throws IOException
existing
- the cache entry currently in-place in the cache, possibly
null
if nonexistentnull
if the entry should be deletedIOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.