Kodo 4.2.0 (DEPRECATED)

com.solarmetric.remote
Class GZIPStreamDecorator

java.lang.Object
  extended by com.solarmetric.remote.GZIPStreamDecorator
All Implemented Interfaces:
StreamDecorator

public class GZIPStreamDecorator
extends Object
implements StreamDecorator

Adds GZIP compression to IO streams.


Constructor Summary
GZIPStreamDecorator()
           
 
Method Summary
 InputStream decorate(InputStream in)
          Decorate the given stream.
 OutputStream decorate(OutputStream out)
          Decorate the given stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GZIPStreamDecorator

public GZIPStreamDecorator()
Method Detail

decorate

public InputStream decorate(InputStream in)
                     throws Exception
Description copied from interface: StreamDecorator
Decorate the given stream.

Specified by:
decorate in interface StreamDecorator
Throws:
Exception

decorate

public OutputStream decorate(OutputStream out)
                      throws Exception
Description copied from interface: StreamDecorator
Decorate the given stream.

Specified by:
decorate in interface StreamDecorator
Throws:
Exception

Kodo 4.2.0 (DEPRECATED)

Copyright 2015 Oracle, Inc. All Rights Reserved.

This documentation is deprecated and will be removed in the next release of WebLogic Server.


Oracle Fusion Middleware Oracle Kodo 4.2.0 API Reference (DEPRECATED)
11g Release 1 (10.3.6)
Part Number E13950-03