Package org.jboss.netty.handler.codec.compression

Examples of org.jboss.netty.handler.codec.compression.JdkZlibEncoder


            return null;
        }

        if (DetectionUtil.javaVersion() >= 7) {
            return new EncoderEmbedder<ChannelBuffer>(
                    new JdkZlibEncoder(wrapper, compressionLevel));
        } else {
            return new EncoderEmbedder<ChannelBuffer>(
                    new ZlibEncoder(wrapper, compressionLevel, windowBits, memLevel));
        }
    }
View Full Code Here

TOP

Related Classes of org.jboss.netty.handler.codec.compression.JdkZlibEncoder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.