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.
|
org.apache.hc.client5.http.impl.cache.ehcache |
Ehcache based caching backend implementation.
|
Modifier and Type | Method and Description |
---|---|
HttpCacheStorageEntry |
HttpCacheEntrySerializer.deserialize(T serializedObject)
Deserializes a cache entry from its serialized representation.
|
Modifier and Type | Method and Description |
---|---|
T |
HttpCacheEntrySerializer.serialize(HttpCacheStorageEntry entry)
Serializes the given entry.
|
Modifier and Type | Method and Description |
---|---|
HttpCacheStorageEntry |
HttpByteArrayCacheEntrySerializer.deserialize(byte[] serializedObject)
Deserializes a byte array representation of an HTTP cache storage entry into an instance of
HttpCacheStorageEntry . |
HttpCacheStorageEntry |
ByteArrayCacheEntrySerializer.deserialize(byte[] serializedObject)
Deprecated.
|
HttpCacheStorageEntry |
NoopCacheEntrySerializer.deserialize(HttpCacheStorageEntry cacheEntry) |
HttpCacheStorageEntry |
NoopCacheEntrySerializer.serialize(HttpCacheStorageEntry cacheEntry) |
Modifier and Type | Method and Description |
---|---|
HttpCacheStorageEntry |
NoopCacheEntrySerializer.deserialize(HttpCacheStorageEntry cacheEntry) |
byte[] |
HttpByteArrayCacheEntrySerializer.serialize(HttpCacheStorageEntry storageEntry)
Serializes an HttpCacheStorageEntry object into a byte array using an HTTP-like format.
|
HttpCacheStorageEntry |
NoopCacheEntrySerializer.serialize(HttpCacheStorageEntry cacheEntry) |
byte[] |
ByteArrayCacheEntrySerializer.serialize(HttpCacheStorageEntry cacheEntry)
Deprecated.
|
Constructor and Description |
---|
InternalCacheStorage(int maxEntries,
Consumer<HttpCacheStorageEntry> evictionCallback) |
Modifier and Type | Method and Description |
---|---|
static EhcacheHttpCacheStorage<HttpCacheStorageEntry> |
EhcacheHttpCacheStorage.createObjectCache(org.ehcache.Cache<String,HttpCacheStorageEntry> cache,
CacheConfig config)
Creates cache that stores
HttpCacheStorageEntry s without direct serialization. |
Modifier and Type | Method and Description |
---|---|
static EhcacheHttpCacheStorage<HttpCacheStorageEntry> |
EhcacheHttpCacheStorage.createObjectCache(org.ehcache.Cache<String,HttpCacheStorageEntry> cache,
CacheConfig config)
Creates cache that stores
HttpCacheStorageEntry s without direct serialization. |
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.