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
Fields in org.apache.hc.client5.http.cache declared as Resource Modifier and Type Field Description private Resource
HttpCacheEntry. resource
Methods in org.apache.hc.client5.http.cache that return Resource Modifier and Type Method Description Resource
ResourceFactory. copy(java.lang.String requestId, Resource resource)
Clones an existingResource
.Resource
ResourceFactory. generate(java.lang.String requestId, byte[] content)
Creates aResource
from a given response body.Resource
ResourceFactory. generate(java.lang.String requestId, byte[] content, int off, int len)
Creates aResource
from a given response body.Resource
HttpCacheEntry. getResource()
Returns theResource
containing the origin response body.Methods in org.apache.hc.client5.http.cache with parameters of type Resource Modifier and Type Method Description Resource
ResourceFactory. copy(java.lang.String requestId, Resource resource)
Clones an existingResource
.Constructors in org.apache.hc.client5.http.cache with parameters of type Resource Constructor Description HttpCacheEntry(java.time.Instant requestDate, java.time.Instant responseDate, int status, org.apache.hc.core5.http.Header[] responseHeaders, Resource resource)
Create a newHttpCacheEntry
.HttpCacheEntry(java.time.Instant requestDate, java.time.Instant responseDate, int status, org.apache.hc.core5.http.Header[] responseHeaders, Resource resource, java.util.Map<java.lang.String,java.lang.String> variantMap)
Create a newHttpCacheEntry
with variants.HttpCacheEntry(java.util.Date requestDate, java.util.Date responseDate, int status, org.apache.hc.core5.http.Header[] responseHeaders, Resource resource)
HttpCacheEntry(java.util.Date requestDate, java.util.Date responseDate, int status, org.apache.hc.core5.http.Header[] responseHeaders, Resource resource, java.util.Map<java.lang.String,java.lang.String> variantMap)
Deprecated. -
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 Description class
FileResource
Cache resource backed by a file.class
HeapResource
Cache resource backed by a byte array on the heap.Fields in org.apache.hc.client5.http.impl.cache declared as Resource Modifier and Type Field Description private Resource
ResourceReference. resource
Methods in org.apache.hc.client5.http.impl.cache that return Resource Modifier and Type Method Description Resource
FileResourceFactory. copy(java.lang.String requestId, Resource resource)
Resource
HeapResourceFactory. copy(java.lang.String requestId, Resource resource)
Resource
FileResourceFactory. generate(java.lang.String requestId, byte[] content)
Resource
FileResourceFactory. generate(java.lang.String requestId, byte[] content, int off, int len)
Resource
HeapResourceFactory. generate(java.lang.String requestId, byte[] content)
Resource
HeapResourceFactory. generate(java.lang.String requestId, byte[] content, int off, int len)
Resource
ResourceReference. getResource()
Methods in org.apache.hc.client5.http.impl.cache with parameters of type Resource Modifier and Type Method Description Resource
FileResourceFactory. copy(java.lang.String requestId, Resource resource)
Resource
HeapResourceFactory. copy(java.lang.String requestId, Resource resource)
-