public interface HttpCacheEntrySerializer
HttpCacheStorage
implementations to serialize
HttpCacheEntry
instances to a byte representation before
storage.Modifier and Type | Method and Description |
---|---|
HttpCacheEntry |
readFrom(java.io.InputStream is)
Deserializes a byte representation of a cache entry by reading
from the given
InputStream . |
void |
writeTo(HttpCacheEntry entry,
java.io.OutputStream os)
Serializes the given entry to a byte representation on the
given
OutputStream . |
void writeTo(HttpCacheEntry entry, java.io.OutputStream os) throws java.io.IOException
OutputStream
.java.io.IOException
HttpCacheEntry readFrom(java.io.InputStream is) throws java.io.IOException
InputStream
.java.io.IOException