Search in sources :

Example 6 with HttpContentDecompressor

use of org.jboss.netty.handler.codec.http.HttpContentDecompressor in project druid by druid-io.

the class HttpClientPipelineFactory method getPipeline.

@Override
public ChannelPipeline getPipeline() {
    ChannelPipeline pipeline = new DefaultChannelPipeline();
    pipeline.addLast("codec", new HttpClientCodec());
    pipeline.addLast("inflater", new HttpContentDecompressor());
    return pipeline;
}
Also used : DefaultChannelPipeline(org.jboss.netty.channel.DefaultChannelPipeline) HttpClientCodec(org.jboss.netty.handler.codec.http.HttpClientCodec) ChannelPipeline(org.jboss.netty.channel.ChannelPipeline) DefaultChannelPipeline(org.jboss.netty.channel.DefaultChannelPipeline) HttpContentDecompressor(org.jboss.netty.handler.codec.http.HttpContentDecompressor)

Aggregations

HttpContentDecompressor (org.jboss.netty.handler.codec.http.HttpContentDecompressor)6 ChannelPipeline (org.jboss.netty.channel.ChannelPipeline)4 HttpClientCodec (org.jboss.netty.handler.codec.http.HttpClientCodec)3 ChannelHandler (org.jboss.netty.channel.ChannelHandler)2 HttpChunkAggregator (org.jboss.netty.handler.codec.http.HttpChunkAggregator)2 HttpResponseEncoder (org.jboss.netty.handler.codec.http.HttpResponseEncoder)2 ExtendedReadTimeoutHandler (com.linkedin.databus2.core.container.ExtendedReadTimeoutHandler)1 ExtendedWriteTimeoutHandler (com.linkedin.databus2.core.container.ExtendedWriteTimeoutHandler)1 HttpRequestLoggingHandler (com.linkedin.databus2.core.container.HttpRequestLoggingHandler)1 ConnectionChannelRegistrationHandler (com.linkedin.databus2.core.container.netty.ConnectionChannelRegistrationHandler)1 InboundContainerStatisticsCollectingHandler (com.linkedin.databus2.core.container.netty.InboundContainerStatisticsCollectingHandler)1 ArrayList (java.util.ArrayList)1 Callable (java.util.concurrent.Callable)1 JndiRegistry (org.apache.camel.impl.JndiRegistry)1 DefaultChannelPipeline (org.jboss.netty.channel.DefaultChannelPipeline)1 SimpleChannelHandler (org.jboss.netty.channel.SimpleChannelHandler)1 HttpRequestDecoder (org.jboss.netty.handler.codec.http.HttpRequestDecoder)1 LoggingHandler (org.jboss.netty.handler.logging.LoggingHandler)1 ReadTimeoutHandler (org.jboss.netty.handler.timeout.ReadTimeoutHandler)1