CompressingMarshaller
and
CompressingUnMarshaller
are a general purpose compressing marshaller / decompressing unmarshaller pair based on Java's GZIP facilities.
CompressingUnMarshaller
is subclassed from
SerializableUnMarshaller
, and by default it uses
super.read()
to deserialize an object, once the object has been uncompressed. Optionally, it can wrap any other unmarshaller and use that instead of
SerializableUnMarshaller
to unmarshall an uncompressed input stream. For example,
new CompressingUnMarshaller(new HTTPUnMarshaller())
will create an umarshaller that uses an
HTTPUnMarshaller
to restore an uncompressed input stream.
@author
Ron Sigal
@version $Revision: 5338 $
Copyright (c) 2005