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 ResourceHttpCacheEntry. resourceMethods in org.apache.hc.client5.http.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, byte[] content)Creates aResourcefrom a given response body.ResourceResourceFactory. generate(java.lang.String requestId, byte[] content, int off, int len)Creates aResourcefrom a given response body.ResourceHttpCacheEntry. getResource()Returns theResourcecontaining the origin response body.Methods in org.apache.hc.client5.http.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.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 newHttpCacheEntrywith 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 classFileResourceCache resource backed by a file.classHeapResourceCache 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 ResourceResourceReference. resourceMethods in org.apache.hc.client5.http.impl.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)ResourceFileResourceFactory. generate(java.lang.String requestId, byte[] content)ResourceFileResourceFactory. generate(java.lang.String requestId, byte[] content, int off, int len)ResourceHeapResourceFactory. generate(java.lang.String requestId, byte[] content)ResourceHeapResourceFactory. generate(java.lang.String requestId, byte[] content, int off, int len)ResourceResourceReference. getResource()Methods in org.apache.hc.client5.http.impl.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)
-