| 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) |
HttpCacheStorageEntry |
ByteArrayCacheEntrySerializer.deserialize(byte[] serializedObject) |
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 httpCacheEntry) |
HttpCacheStorageEntry |
NoopCacheEntrySerializer.serialize(HttpCacheStorageEntry cacheEntry) |
byte[] |
ByteArrayCacheEntrySerializer.serialize(HttpCacheStorageEntry cacheEntry) |
| Modifier and Type | Method and Description |
|---|---|
static EhcacheHttpCacheStorage<HttpCacheStorageEntry> |
EhcacheHttpCacheStorage.createObjectCache(org.ehcache.Cache<String,HttpCacheStorageEntry> cache,
CacheConfig config)
Creates cache that stores
HttpCacheStorageEntrys 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
HttpCacheStorageEntrys without direct serialization. |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.