## Uses of Class
org.apache.hc.client5.http.cache.Resource

- Packages that use Resource
  Package | Description
  --- | ---
  org.apache.hc.client5.http.cache | Caching APIs for both the classic and the asynchronous HTTP transports.
  org.apache.hc.client5.http.impl.cache | Caching API implementation for both the classic and the asynchronous HTTP transports.

- - ### Uses of Resource in org.apache.hc.client5.http.cache

    Methods in org.apache.hc.client5.http.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, byte[] content)` Creates a `Resource` from a given response body.
    `Resource` | ResourceFactory.`generate(String requestId, byte[] content, int off, int len)` Creates a `Resource` from a given response body.
    `Resource` | HttpCacheEntry.`getResource()` Returns the `Resource` containing the origin response body.

    Methods in org.apache.hc.client5.http.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.hc.client5.http.cache with parameters of type Resource
    Constructor and Description
    `HttpCacheEntry(Date requestDate, Date responseDate, int status, org.apache.hc.core5.http.Header[] responseHeaders, Resource resource)` Create a new `HttpCacheEntry`.
    `HttpCacheEntry(Date requestDate, Date responseDate, int status, org.apache.hc.core5.http.Header[] responseHeaders, Resource resource, Map<String,String> variantMap)` Create a new `HttpCacheEntry` with variants.

  - ### Uses of Resource in org.apache.hc.client5.http.impl.cache

    Subclasses of Resource in org.apache.hc.client5.http.impl.cache
    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.hc.client5.http.impl.cache that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | HeapResourceFactory.`copy(String requestId, Resource resource)`
    `Resource` | FileResourceFactory.`copy(String requestId, Resource resource)`
    `Resource` | HeapResourceFactory.`generate(String requestId, byte[] content)`
    `Resource` | FileResourceFactory.`generate(String requestId, byte[] content)`
    `Resource` | HeapResourceFactory.`generate(String requestId, byte[] content, int off, int len)`
    `Resource` | FileResourceFactory.`generate(String requestId, byte[] content, int off, int len)`

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

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