|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpCacheEntrySerializer
Used by some HttpCacheStorage
implementations to serialize
HttpCacheEntry
instances to a byte representation before
storage.
Method Summary | |
---|---|
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 . |
Method Detail |
---|
void writeTo(HttpCacheEntry entry, OutputStream os) throws IOException
OutputStream
.
IOException
HttpCacheEntry readFrom(InputStream is) throws IOException
InputStream
.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |