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.
|
Modifier and Type | Method and Description |
---|---|
Resource |
ResourceFactory.generate(java.lang.String requestId,
java.io.InputStream instream,
InputLimit limit)
Creates a
Resource from a given response body. |
Modifier and Type | Field and Description |
---|---|
private InputLimit |
SizeLimitedResponseReader.limit |
Modifier and Type | Method and Description |
---|---|
Resource |
FileResourceFactory.generate(java.lang.String requestId,
java.io.InputStream instream,
InputLimit limit) |
Resource |
HeapResourceFactory.generate(java.lang.String requestId,
java.io.InputStream instream,
InputLimit limit) |