org.apache.http.client.cache
Interface HttpCacheEntrySerializer<E>

All Known Implementing Classes:
DefaultCacheEntrySerializer

public interface HttpCacheEntrySerializer<E>

Common operations for cache entry serialization and deserialization.

Since:
4.1

Method Summary
 E readFrom(InputStream is)
           
 void writeTo(E entry, OutputStream os)
           
 

Method Detail

writeTo

void writeTo(E entry,
             OutputStream os)
             throws IOException
Throws:
IOException

readFrom

E readFrom(InputStream is)
           throws IOException
Throws:
IOException


Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.