com.planetj.servlet.filter.compression
Class CompressingStreamFactory.GZIPCompressingStreamFactory

java.lang.Object
  extended by com.planetj.servlet.filter.compression.CompressingStreamFactory
      extended by com.planetj.servlet.filter.compression.CompressingStreamFactory.GZIPCompressingStreamFactory
Enclosing class:
CompressingStreamFactory

private static class CompressingStreamFactory.GZIPCompressingStreamFactory
extends CompressingStreamFactory


Field Summary
 
Fields inherited from class com.planetj.servlet.filter.compression.CompressingStreamFactory
NO_ENCODING
 
Constructor Summary
private CompressingStreamFactory.GZIPCompressingStreamFactory()
           
 
Method Summary
(package private)  CompressingInputStream getCompressingStream(java.io.InputStream inputStream, CompressingFilterContext context)
           
(package private)  CompressingOutputStream getCompressingStream(java.io.OutputStream outputStream, CompressingFilterContext context)
           
 
Methods inherited from class com.planetj.servlet.filter.compression.CompressingStreamFactory
getBestContentEncoding, getFactoryForContentEncoding, isSupportedRequestContentEncoding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompressingStreamFactory.GZIPCompressingStreamFactory

private CompressingStreamFactory.GZIPCompressingStreamFactory()
Method Detail

getCompressingStream

@NotNull
CompressingOutputStream getCompressingStream(java.io.OutputStream outputStream,
                                                     CompressingFilterContext context)
                                       throws java.io.IOException
Specified by:
getCompressingStream in class CompressingStreamFactory
Throws:
java.io.IOException

getCompressingStream

@NotNull
CompressingInputStream getCompressingStream(java.io.InputStream inputStream,
                                                    CompressingFilterContext context)
Specified by:
getCompressingStream in class CompressingStreamFactory