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 TypeMethodDescriptionClones an existingResource.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.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 TypeMethodDescriptionAbstractSerializingCacheStorage.bulkRestore(Collection<String> storageKeys) protected abstract voidByteArrayCacheEntrySerializer.deserialize(byte[] serializedObject) HttpByteArrayCacheEntrySerializer.deserialize(byte[] serializedObject) NoopCacheEntrySerializer.deserialize(HttpCacheStorageEntry cacheEntry) 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) byte[]HttpByteArrayCacheEntrySerializer.serialize(HttpCacheStorageEntry httpCacheEntry) 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)