// 
// Decompiled by Procyon v0.6.0
// 

package io.netty.handler.codec.http.websocketx.extensions.compression;

import io.netty.handler.codec.http.websocketx.extensions.WebSocketClientExtensionHandshaker;
import io.netty.channel.ChannelHandler;
import io.netty.handler.codec.http.websocketx.extensions.WebSocketClientExtensionHandler;

@ChannelHandler.Sharable
public final class WebSocketClientCompressionHandler extends WebSocketClientExtensionHandler
{
    @Deprecated
    public static final WebSocketClientCompressionHandler INSTANCE;
    
    private WebSocketClientCompressionHandler() {
        this(0);
    }
    
    public WebSocketClientCompressionHandler(final int maxAllocation) {
        super(new WebSocketClientExtensionHandshaker[] { new PerMessageDeflateClientExtensionHandshaker(maxAllocation), new DeflateFrameClientExtensionHandshaker(false, maxAllocation), new DeflateFrameClientExtensionHandshaker(true, maxAllocation) });
    }
    
    static {
        INSTANCE = new WebSocketClientCompressionHandler();
    }
}
