Uses of Class
org.apache.http.client.cache.HttpCacheEntry
-
Packages that use HttpCacheEntry Package Description org.apache.http.client.cache This package consists largely of constants and interfaces that are necessary for building new storage backends for theCachingHttpClient
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).org.apache.http.impl.client.cache 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 HttpCacheEntry Modifier and Type Method Description HttpCacheEntry
HttpCacheStorage. getEntry(java.lang.String key)
Retrieves the cache entry stored under the given key or null if no entry exists under that key.HttpCacheEntry
HttpCacheEntrySerializer. readFrom(java.io.InputStream is)
Deserializes a byte representation of a cache entry by reading from the givenInputStream
.HttpCacheEntry
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 HttpCacheEntry Modifier and Type Method Description void
HttpCacheStorage. putEntry(java.lang.String key, HttpCacheEntry entry)
Store a given cache entry under the given key.HttpCacheEntry
HttpCacheUpdateCallback. update(HttpCacheEntry existing)
Returns the new cache entry that should replace an existing one.void
HttpCacheEntrySerializer. writeTo(HttpCacheEntry entry, java.io.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 HttpCacheEntry Modifier and Type Method Description HttpCacheEntry
BasicHttpCacheStorage. getEntry(java.lang.String url)
Gets an entry from the cache, if it existsHttpCacheEntry
ManagedHttpCacheStorage. getEntry(java.lang.String url)
HttpCacheEntry
DefaultHttpCacheEntrySerializer. readFrom(java.io.InputStream is)
Methods in org.apache.http.impl.client.cache with parameters of type HttpCacheEntry Modifier and Type Method Description void
BasicHttpCacheStorage. putEntry(java.lang.String url, HttpCacheEntry entry)
Places a HttpCacheEntry in the cachevoid
ManagedHttpCacheStorage. putEntry(java.lang.String url, HttpCacheEntry entry)
void
DefaultHttpCacheEntrySerializer. writeTo(HttpCacheEntry cacheEntry, java.io.OutputStream os)
-