public interface HttpCacheEntrySerializer
HttpCacheStorage
implementations to serialize
HttpCacheEntry
instances to a byte representation before
storage.Modifier and Type | Method and Description |
---|---|
HttpCacheEntry |
readFrom(InputStream is)
Deserializes a byte representation of a cache entry by reading
from the given
InputStream . |
void |
writeTo(HttpCacheEntry entry,
OutputStream os)
Serializes the given entry to a byte representation on the
given
OutputStream . |
void writeTo(HttpCacheEntry entry, OutputStream os) throws IOException
OutputStream
.IOException
HttpCacheEntry readFrom(InputStream is) throws IOException
InputStream
.IOException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.