Package | Description |
---|---|
org.apache.http.client.cache |
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). |
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. |
Class and Description |
---|
CacheResponseStatus
This enumeration represents the various ways a response can be generated
by the
CachingHttpClient ;
if a request is executed with an HttpContext
then a parameter with one of these values will be registered in the
context under the key
CachingHttpClient.CACHE_RESPONSE_STATUS . |
HttpCacheContext |
HttpCacheEntry
Structure used to store an
HttpResponse in a cache. |
HttpCacheUpdateCallback
Used for atomically updating entries in a
HttpCacheStorage
implementation. |
HttpCacheUpdateException
Signals that
HttpCacheStorage encountered an error performing an
update operation. |
InputLimit
Used to limiting the size of an incoming response body of
unknown size that is optimistically being read in anticipation
of caching it.
|
Resource
Represents a disposable system resource used for handling
cached response bodies.
|
Class and Description |
---|
HttpCacheEntry
Structure used to store an
HttpResponse in a cache. |
HttpCacheEntrySerializer
Used by some
HttpCacheStorage implementations to serialize
HttpCacheEntry instances to a byte representation before
storage. |
HttpCacheInvalidator
Given a particular HttpRequest, flush any cache entries that this request
would invalidate.
|
HttpCacheStorage
New storage backends should implement this
HttpCacheStorage
interface. |
HttpCacheUpdateCallback
Used for atomically updating entries in a
HttpCacheStorage
implementation. |
InputLimit
Used to limiting the size of an incoming response body of
unknown size that is optimistically being read in anticipation
of caching it.
|
Resource
Represents a disposable system resource used for handling
cached response bodies.
|
ResourceFactory
Generates
Resource instances for handling cached
HTTP response bodies. |
Class and Description |
---|
HttpCacheEntry
Structure used to store an
HttpResponse in a cache. |
HttpCacheEntrySerializer
Used by some
HttpCacheStorage implementations to serialize
HttpCacheEntry instances to a byte representation before
storage. |
HttpCacheStorage
New storage backends should implement this
HttpCacheStorage
interface. |
HttpCacheUpdateCallback
Used for atomically updating entries in a
HttpCacheStorage
implementation. |
HttpCacheUpdateException
Signals that
HttpCacheStorage encountered an error performing an
update operation. |
Class and Description |
---|
HttpCacheEntry
Structure used to store an
HttpResponse in a cache. |
HttpCacheEntrySerializer
Used by some
HttpCacheStorage implementations to serialize
HttpCacheEntry instances to a byte representation before
storage. |
HttpCacheStorage
New storage backends should implement this
HttpCacheStorage
interface. |
HttpCacheUpdateCallback
Used for atomically updating entries in a
HttpCacheStorage
implementation. |
HttpCacheUpdateException
Signals that
HttpCacheStorage encountered an error performing an
update operation. |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.