Package | Description |
---|---|
org.apache.http.impl.client.cache |
This package contains a cache module that can be used for HTTP/1.1
client-side caching.
|
org.apache.http.impl.client.cache.ehcache |
This package contains a storage backend based on
Ehcache
that can be plugged into
a
CachingHttpClient and
used for storing cache entries. |
org.apache.http.impl.client.cache.memcached |
This package contains a storage backend based on
memcached
that can be plugged into
a
CachingHttpClient and
used for storing cache entries. |
Constructor and Description |
---|
BasicHttpCacheStorage(CacheConfig config) |
CachingHttpClient(CacheConfig config)
Constructs a
CachingHttpClient with the given caching options that
stores cache entries in memory and uses a vanilla DefaultHttpClient
for backend requests. |
CachingHttpClient(HttpClient client,
CacheConfig config)
Constructs a
CachingHttpClient with the given caching options that
stores cache entries in memory and uses the given HttpClient
for backend requests. |
CachingHttpClient(HttpClient client,
HttpCacheStorage storage,
CacheConfig config)
Constructs a
CachingHttpClient with the given caching options
that stores cache entries in the provided storage backend and uses
the given HttpClient for backend requests. |
CachingHttpClient(HttpClient client,
ResourceFactory resourceFactory,
HttpCacheStorage storage,
CacheConfig config)
Constructs a
CachingHttpClient with the given caching options
that stores cache entries in the provided storage backend and uses
the given HttpClient for backend requests. |
ManagedHttpCacheStorage(CacheConfig config) |
Constructor and Description |
---|
EhcacheHttpCacheStorage(net.sf.ehcache.Ehcache cache,
CacheConfig config)
Constructs a storage backend using the provided Ehcache
with the given configuration options.
|
EhcacheHttpCacheStorage(net.sf.ehcache.Ehcache cache,
CacheConfig config,
HttpCacheEntrySerializer serializer)
Constructs a storage backend using the provided Ehcache
with the given configuration options, but using an alternative
cache entry serialization strategy.
|
Constructor and Description |
---|
MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF client,
CacheConfig config,
HttpCacheEntrySerializer serializer)
Deprecated.
(4.2) do not use
|
MemcachedHttpCacheStorage(net.spy.memcached.MemcachedClientIF client,
CacheConfig config,
MemcachedCacheEntryFactory memcachedCacheEntryFactory,
KeyHashingScheme keyHashingScheme)
Create a storage backend using the given memcached client and
applying the given cache configuration, serialization, and hashing
mechanisms.
|
Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.