Uses of Interface
org.apache.http.client.cache.Resource
-
Packages that use Resource Package Description org.apache.http.client.cache This package consists largely of constants and interfaces that are necessary for building new storage backends for theCachingHttpClientor 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 Resource in org.apache.http.client.cache
Fields in org.apache.http.client.cache declared as Resource Modifier and Type Field Description private ResourceHttpCacheEntry. resourceMethods in org.apache.http.client.cache that return Resource Modifier and Type Method Description ResourceResourceFactory. copy(java.lang.String requestId, Resource resource)Clones an existingResource.ResourceResourceFactory. generate(java.lang.String requestId, java.io.InputStream inStream, InputLimit limit)Creates aResourcefrom a given response body.ResourceHttpCacheEntry. getResource()Returns theResourcecontaining the origin response body.Methods in org.apache.http.client.cache with parameters of type Resource Modifier and Type Method Description ResourceResourceFactory. copy(java.lang.String requestId, Resource resource)Clones an existingResource.Constructors in org.apache.http.client.cache with parameters of type Resource Constructor Description HttpCacheEntry(java.util.Date requestDate, java.util.Date responseDate, org.apache.http.StatusLine statusLine, org.apache.http.Header[] responseHeaders, Resource resource)Create a newHttpCacheEntry.HttpCacheEntry(java.util.Date requestDate, java.util.Date responseDate, org.apache.http.StatusLine statusLine, org.apache.http.Header[] responseHeaders, Resource resource, java.lang.String requestMethod)Create a newHttpCacheEntry.HttpCacheEntry(java.util.Date requestDate, java.util.Date responseDate, org.apache.http.StatusLine statusLine, org.apache.http.Header[] responseHeaders, Resource resource, java.util.Map<java.lang.String,java.lang.String> variantMap)Create a newHttpCacheEntrywith variants.HttpCacheEntry(java.util.Date requestDate, java.util.Date responseDate, org.apache.http.StatusLine statusLine, org.apache.http.Header[] responseHeaders, Resource resource, java.util.Map<java.lang.String,java.lang.String> variantMap, java.lang.String requestMethod)Create a newHttpCacheEntrywith variants. -
Uses of Resource in org.apache.http.impl.client.cache
Classes in org.apache.http.impl.client.cache that implement Resource Modifier and Type Class Description classFileResourceCache resource backed by a file.classHeapResourceCache resource backed by a byte array on the heap.Fields in org.apache.http.impl.client.cache declared as Resource Modifier and Type Field Description private ResourceCombinedEntity. resourceprivate ResourceResourceReference. resourceprivate ResourceSizeLimitedResponseReader. resourceMethods in org.apache.http.impl.client.cache that return Resource Modifier and Type Method Description ResourceFileResourceFactory. copy(java.lang.String requestId, Resource resource)ResourceHeapResourceFactory. copy(java.lang.String requestId, Resource resource)(package private) ResourceHeapResourceFactory. createResource(byte[] buf)ResourceFileResourceFactory. generate(java.lang.String requestId, java.io.InputStream inStream, InputLimit limit)ResourceHeapResourceFactory. generate(java.lang.String requestId, java.io.InputStream inStream, InputLimit limit)ResourceResourceReference. getResource()(package private) ResourceSizeLimitedResponseReader. getResource()Methods in org.apache.http.impl.client.cache with parameters of type Resource Modifier and Type Method Description ResourceFileResourceFactory. copy(java.lang.String requestId, Resource resource)ResourceHeapResourceFactory. copy(java.lang.String requestId, Resource resource)(package private) CloseableHttpResponseBasicHttpCache. generateIncompleteResponseError(org.apache.http.HttpResponse response, Resource resource)(package private) booleanBasicHttpCache. isIncompleteResponse(org.apache.http.HttpResponse resp, Resource resource)Constructors in org.apache.http.impl.client.cache with parameters of type Resource Constructor Description CombinedEntity(Resource resource, java.io.InputStream inStream)
-