public class

DefaultHttpCacheEntrySerializer

extends Object
implements HttpCacheEntrySerializer
java.lang.Object
   ↳ org.apache.http.impl.client.cache.DefaultHttpCacheEntrySerializer

Class Overview

HttpCacheEntrySerializer implementation that uses the default (native) serialization.

See Also

Summary

Public Constructors
DefaultHttpCacheEntrySerializer()
Public Methods
HttpCacheEntry readFrom(InputStream is)
Deserializes a byte representation of a cache entry by reading from the given InputStream.
void writeTo(HttpCacheEntry cacheEntry, OutputStream os)
Serializes the given entry to a byte representation on the given OutputStream.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.http.client.cache.HttpCacheEntrySerializer

Public Constructors

public DefaultHttpCacheEntrySerializer ()

Public Methods

public HttpCacheEntry readFrom (InputStream is)

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

Throws
IOException

public void writeTo (HttpCacheEntry cacheEntry, OutputStream os)

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

Throws
IOException