Uses of Class
org.apache.http.client.cache.HttpCacheEntry
Packages that use HttpCacheEntry
Package
Description
This package consists largely of constants and interfaces that are
necessary for building new storage backends for the
CachingHttpClient
or for
those clients wanting to get a little more behavioral information
out of the cache module (for example, whether a particular response
was a cache hit or not).
This package contains a cache module that can be used for HTTP/1.1
client-side caching.
-
Uses of HttpCacheEntry in org.apache.http.client.cache
Methods in org.apache.http.client.cache that return HttpCacheEntryModifier and TypeMethodDescriptionRetrieves the cache entry stored under the given key or null if no entry exists under that key.HttpCacheEntrySerializer.readFrom
(InputStream is) Deserializes a byte representation of a cache entry by reading from the givenInputStream
.HttpCacheUpdateCallback.update
(HttpCacheEntry existing) Returns the new cache entry that should replace an existing one.Methods in org.apache.http.client.cache with parameters of type HttpCacheEntryModifier and TypeMethodDescriptionvoid
HttpCacheStorage.putEntry
(String key, HttpCacheEntry entry) Store a given cache entry under the given key.HttpCacheUpdateCallback.update
(HttpCacheEntry existing) Returns the new cache entry that should replace an existing one.void
HttpCacheEntrySerializer.writeTo
(HttpCacheEntry entry, OutputStream os) Serializes the given entry to a byte representation on the givenOutputStream
. -
Uses of HttpCacheEntry in org.apache.http.impl.client.cache
Methods in org.apache.http.impl.client.cache that return HttpCacheEntryModifier and TypeMethodDescriptionGets an entry from the cache, if it existsDefaultHttpCacheEntrySerializer.readFrom
(InputStream is) Methods in org.apache.http.impl.client.cache with parameters of type HttpCacheEntryModifier and TypeMethodDescriptionvoid
BasicHttpCacheStorage.putEntry
(String url, HttpCacheEntry entry) Places a HttpCacheEntry in the cachevoid
ManagedHttpCacheStorage.putEntry
(String url, HttpCacheEntry entry) void
DefaultHttpCacheEntrySerializer.writeTo
(HttpCacheEntry cacheEntry, OutputStream os)