Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.undertow.server.handlers.encoding;
 
Content coding for 'deflate'

Author(s):
Stuart Douglas
public class DeflateEncodingProvider implements ContentEncodingProvider {
    @Override
        return new ConduitWrapper<StreamSinkConduit>() {
            @Override
            public StreamSinkConduit wrap(final ConduitFactory<StreamSinkConduitfactoryfinal HttpServerExchange exchange) {
                return new DeflatingStreamSinkConduit(factoryexchange);
            }
        };
    }
New to GrepCode? Check out our FAQ X