org.codehaus.wadi.impl
Class GZIPStreamer
java.lang.Object
org.codehaus.wadi.impl.GZIPStreamer
- All Implemented Interfaces:
- Streamer
- public class GZIPStreamer
- extends Object
- implements Streamer
Pluggable support for [un]GZIP-ing sessions as they are exchanged with
peers or long-term storage mechanisms.
- Version:
- $Revision: 1160 $
- Author:
- Jules Gosnell
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_config
protected StreamerConfig _config
GZIPStreamer
public GZIPStreamer()
init
public void init(StreamerConfig config)
- Specified by:
init
in interface Streamer
getInputStream
public ObjectInput getInputStream(InputStream is)
throws IOException
- Specified by:
getInputStream
in interface Streamer
- Throws:
IOException
getOutputStream
public ObjectOutput getOutputStream(OutputStream os)
throws IOException
- Specified by:
getOutputStream
in interface Streamer
- Throws:
IOException
getSuffix
public String getSuffix()
- Specified by:
getSuffix
in interface Streamer
getSuffixWithDot
public String getSuffixWithDot()
- Specified by:
getSuffixWithDot
in interface Streamer
Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.