public interface

HttpCacheEntrySerializer

org.apache.http.client.cache.HttpCacheEntrySerializer
Known Indirect Subclasses

Class Overview

Used by some HttpCacheStorage implementations to serialize HttpCacheEntry instances to a byte representation before storage.

Summary

Public Methods
abstract HttpCacheEntry readFrom(InputStream is)
Deserializes a byte representation of a cache entry by reading from the given InputStream.
abstract void writeTo(HttpCacheEntry entry, OutputStream os)
Serializes the given entry to a byte representation on the given OutputStream.

Public Methods

public abstract HttpCacheEntry readFrom (InputStream is)

Deserializes a byte representation of a cache entry by reading from the given InputStream.

Throws
IOException

public abstract void writeTo (HttpCacheEntry entry, OutputStream os)

Serializes the given entry to a byte representation on the given OutputStream.

Throws
IOException