@Contract(threading=STATELESS)
public interface HttpCacheEntrySerializer<T>
HttpCacheStorageEntry
entries.Modifier and Type | Method and Description |
---|---|
HttpCacheStorageEntry |
deserialize(T serializedObject)
Deserializes a cache entry from its serialized representation.
|
T |
serialize(HttpCacheStorageEntry entry)
Serializes the given entry.
|
T serialize(HttpCacheStorageEntry entry) throws ResourceIOException
entry
- cache entryResourceIOException
HttpCacheStorageEntry deserialize(T serializedObject) throws ResourceIOException
serializedObject
- serialized representation of the cache entryResourceIOException
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.