## 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 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.

- - ### Uses of Resource in org.apache.http.client.cache

    Methods in org.apache.http.client.cache that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | ResourceFactory.`copy(String requestId, Resource resource)` Clones an existing `Resource`.
    `Resource` | ResourceFactory.`generate(String requestId, InputStream inStream, InputLimit limit)` Creates a `Resource` from a given response body.
    `Resource` | HttpCacheEntry.`getResource()` Returns the `Resource` containing the origin response body.

    Methods in org.apache.http.client.cache with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | ResourceFactory.`copy(String requestId, Resource resource)` Clones an existing `Resource`.

    Constructors in org.apache.http.client.cache with parameters of type Resource
    Constructor and Description
    `HttpCacheEntry(Date requestDate, Date responseDate, org.apache.http.StatusLine statusLine, org.apache.http.Header[] responseHeaders, Resource resource)` Create a new `HttpCacheEntry`.
    `HttpCacheEntry(Date requestDate, Date responseDate, org.apache.http.StatusLine statusLine, org.apache.http.Header[] responseHeaders, Resource resource, Map<String,String> variantMap)` Create a new `HttpCacheEntry` with variants.
    `HttpCacheEntry(Date requestDate, Date responseDate, org.apache.http.StatusLine statusLine, org.apache.http.Header[] responseHeaders, Resource resource, Map<String,String> variantMap, String requestMethod)` Create a new `HttpCacheEntry` with variants.
    `HttpCacheEntry(Date requestDate, Date responseDate, org.apache.http.StatusLine statusLine, org.apache.http.Header[] responseHeaders, Resource resource, String requestMethod)` Create a new `HttpCacheEntry`.

  - ### 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 and Description
    --- | ---
    `class` | `FileResource` Cache resource backed by a file.
    `class` | `HeapResource` Cache resource backed by a byte array on the heap.

    Methods in org.apache.http.impl.client.cache that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | FileResourceFactory.`copy(String requestId, Resource resource)`
    `Resource` | HeapResourceFactory.`copy(String requestId, Resource resource)`
    `Resource` | FileResourceFactory.`generate(String requestId, InputStream inStream, InputLimit limit)`
    `Resource` | HeapResourceFactory.`generate(String requestId, InputStream inStream, InputLimit limit)`

    Methods in org.apache.http.impl.client.cache with parameters of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | FileResourceFactory.`copy(String requestId, Resource resource)`
    `Resource` | HeapResourceFactory.`copy(String requestId, Resource resource)`

Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.