Uses of Class
org.apache.hc.client5.http.cache.ResourceIOException
Packages that use ResourceIOException
Package
Description
Caching APIs for both the classic and the asynchronous
HTTP transports.
Caching API implementation for both the classic and
the asynchronous HTTP transports.
-
Uses of ResourceIOException in org.apache.hc.client5.http.cache
Methods in org.apache.hc.client5.http.cache that throw ResourceIOExceptionModifier and TypeMethodDescriptionDeprecated.Do not use.HttpCacheEntrySerializer.deserialize(T serializedObject) Deserializes a cache entry from its serialized representation.HttpCacheCASOperation.execute(HttpCacheEntry existing) Returns the new cache entry that should replace an existing one.Creates aResourcefrom a given response body.Creates aResourcefrom a given response body.default ResourceCreates aResourcefrom a given response body.abstract byte[]Resource.get()Returns resource content as a byte array.HttpCacheStorage.getEntries(Collection<String> keys) Retrieves multiple cache entries stored under the given keys.Retrieves the cache entry stored under the given key or null if no entry exists under that key.Resource.getInputStream()Returns resource content as anInputStream.voidHttpCacheStorage.putEntry(String key, HttpCacheEntry entry) Store a given cache entry under the given key.voidHttpCacheStorage.removeEntry(String key) Deletes/invalidates/removes any cache entries currently stored under the given key.HttpCacheEntrySerializer.serialize(HttpCacheStorageEntry entry) Serializes the given entry.voidHttpCacheStorage.updateEntry(String key, HttpCacheCASOperation casOperation) Atomically applies the given callback to processChallenge an existing cache entry under a given key. -
Uses of ResourceIOException in org.apache.hc.client5.http.impl.cache
Methods in org.apache.hc.client5.http.impl.cache that throw ResourceIOExceptionModifier and TypeMethodDescriptionprivate static Instantprivate static longAbstractSerializingCacheStorage.bulkRestore(Collection<String> storageKeys) private static voidHttpByteArrayCacheEntrySerializer.checkReadResult(int n) Deprecated.Do not use.Deprecated.Do not use.protected abstract voidByteArrayCacheEntrySerializer.deserialize(byte[] serializedObject) Deprecated.HttpByteArrayCacheEntrySerializer.deserialize(byte[] serializedObject) Deserializes a byte array representation of an HTTP cache storage entry into an instance ofHttpCacheStorageEntry.NoopCacheEntrySerializer.deserialize(HttpCacheStorageEntry cacheEntry) (package private) SimpleHttpResponseCachingExecBase.generateCachedResponse(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry, Instant now) (package private) SimpleHttpResponseCachedHttpResponseGenerator.generateResponse(org.apache.hc.core5.http.HttpRequest request, HttpCacheEntry entry) If it is legal to use cached content in response response to theHttpRequestthen generate anHttpResponsebased onHttpCacheEntry.byte[]FileResource.get()byte[]HeapResource.get()final Map<String, HttpCacheEntry> AbstractSerializingCacheStorage.getEntries(Collection<String> keys) BasicHttpCacheStorage.getEntries(Collection<String> keys) ManagedHttpCacheStorage.getEntries(Collection<String> keys) final HttpCacheEntryGets an entry from the cache, if it existsprotected abstract CASAbstractSerializingCacheStorage.getForUpdateCAS(String storageKey) FileResource.getInputStream()protected abstract TAbstractSerializingAsyncCacheStorage.getStorageObject(CAS cas) protected abstract TAbstractSerializingCacheStorage.getStorageObject(CAS cas) final voidAbstractSerializingCacheStorage.putEntry(String key, HttpCacheEntry entry) voidBasicHttpCacheStorage.putEntry(String url, HttpCacheEntry entry) Places a HttpCacheEntry in the cachevoidManagedHttpCacheStorage.putEntry(String url, HttpCacheEntry entry) final voidAbstractSerializingCacheStorage.removeEntry(String key) voidBasicHttpCacheStorage.removeEntry(String url) Removes a HttpCacheEntry from the cachevoidManagedHttpCacheStorage.removeEntry(String url) protected abstract Tbyte[]ByteArrayCacheEntrySerializer.serialize(HttpCacheStorageEntry cacheEntry) Deprecated.byte[]HttpByteArrayCacheEntrySerializer.serialize(HttpCacheStorageEntry storageEntry) Serializes an HttpCacheStorageEntry object into a byte array using an HTTP-like format.NoopCacheEntrySerializer.serialize(HttpCacheStorageEntry cacheEntry) protected abstract voidprotected abstract booleanfinal voidAbstractSerializingCacheStorage.updateEntry(String key, HttpCacheCASOperation casOperation) voidBasicHttpCacheStorage.updateEntry(String url, HttpCacheCASOperation casOperation) voidManagedHttpCacheStorage.updateEntry(String url, HttpCacheCASOperation casOperation)