|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CacheEntry | |
---|---|
org.apache.http.impl.client.cache |
Uses of CacheEntry in org.apache.http.impl.client.cache |
---|
Methods in org.apache.http.impl.client.cache that return CacheEntry | |
---|---|
CacheEntry |
CacheEntry.addVariantURI(String variantURI)
|
protected CacheEntry |
CachingHttpClient.doGetUpdatedParentEntry(CacheEntry existing,
HttpHost target,
HttpRequest req,
CacheEntry entry)
|
CacheEntry |
CacheEntryGenerator.generateEntry(Date requestDate,
Date responseDate,
HttpResponse response,
byte[] body)
|
protected CacheEntry |
CachingHttpClient.getCacheEntry(HttpHost target,
HttpRequest request)
|
CacheEntry |
BasicHttpCache.getEntry(String url)
Gets an entry from the cache, if it exists |
CacheEntry |
DefaultCacheEntrySerializer.readFrom(InputStream is)
Read a CacheEntry from an InputStream |
CacheEntry |
CacheEntryUpdater.updateCacheEntry(CacheEntry entry,
Date requestDate,
Date responseDate,
HttpResponse response)
Update the entry with the new information from the response. |
Methods in org.apache.http.impl.client.cache that return types with arguments of type CacheEntry | |
---|---|
protected HttpCacheUpdateCallback<CacheEntry> |
CachingHttpClient.storeVariantEntry(HttpHost target,
HttpRequest req,
CacheEntry entry)
|
Methods in org.apache.http.impl.client.cache with parameters of type CacheEntry | |
---|---|
HttpRequest |
ConditionalRequestBuilder.buildConditionalRequest(HttpRequest request,
CacheEntry cacheEntry)
When a CacheEntry is stale but 'might' be used as a response
to an HttpRequest we will attempt to revalidate the entry with
the origin. |
boolean |
CachedResponseSuitabilityChecker.canCachedResponseBeUsed(HttpHost host,
HttpRequest request,
CacheEntry entry)
Determine if I can utilize a CacheEntry to respond to the given
HttpRequest |
protected CacheEntry |
CachingHttpClient.doGetUpdatedParentEntry(CacheEntry existing,
HttpHost target,
HttpRequest req,
CacheEntry entry)
|
String |
URIExtractor.getVariantURI(HttpHost host,
HttpRequest req,
CacheEntry entry)
For a given HttpHost and HttpRequest if the request has a
VARY header - I need to get an additional URI from the pair of host and
request so that I can also store the variant into my HttpCache. |
protected Header[] |
CacheEntryUpdater.mergeHeaders(CacheEntry entry,
HttpResponse response)
|
void |
BasicHttpCache.putEntry(String url,
CacheEntry entry)
Places a CacheEntry in the cache |
protected HttpResponse |
CachingHttpClient.revalidateCacheEntry(HttpHost target,
HttpRequest request,
HttpContext context,
CacheEntry cacheEntry)
|
protected void |
CachingHttpClient.storeInCache(HttpHost target,
HttpRequest request,
CacheEntry entry)
|
protected HttpCacheUpdateCallback<CacheEntry> |
CachingHttpClient.storeVariantEntry(HttpHost target,
HttpRequest req,
CacheEntry entry)
|
CacheEntry |
CacheEntryUpdater.updateCacheEntry(CacheEntry entry,
Date requestDate,
Date responseDate,
HttpResponse response)
Update the entry with the new information from the response. |
void |
DefaultCacheEntrySerializer.writeTo(CacheEntry cacheEntry,
OutputStream os)
Write a CacheEntry to an OutputStream . |
Method parameters in org.apache.http.impl.client.cache with type arguments of type CacheEntry | |
---|---|
void |
BasicHttpCache.updateCacheEntry(String url,
HttpCacheUpdateCallback<CacheEntry> callback)
|
Constructor parameters in org.apache.http.impl.client.cache with type arguments of type CacheEntry | |
---|---|
CacheInvalidator(URIExtractor uriExtractor,
HttpCache<CacheEntry> cache)
Create a new CacheInvalidator for a given HttpCache and
URIExtractor . |
|
CachingHttpClient(HttpCache<CacheEntry> cache,
int maxObjectSizeBytes)
|
|
CachingHttpClient(HttpClient client,
HttpCache<CacheEntry> cache,
int maxObjectSizeBytes)
|
|
CachingHttpClient(HttpClient backend,
ResponseCachingPolicy responseCachingPolicy,
CacheEntryGenerator cacheEntryGenerator,
URIExtractor uriExtractor,
HttpCache<CacheEntry> responseCache,
CachedHttpResponseGenerator responseGenerator,
CacheInvalidator cacheInvalidator,
CacheableRequestPolicy cacheableRequestPolicy,
CachedResponseSuitabilityChecker suitabilityChecker,
ConditionalRequestBuilder conditionalRequestBuilder,
CacheEntryUpdater entryUpdater,
ResponseProtocolCompliance responseCompliance,
RequestProtocolCompliance requestCompliance)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |