}
LoggingHandler loggingHandler = new LoggingHandler();
if (loggingHandler.getLogger().isDebugEnabled()) {
pipeline.addLast("logger", loggingHandler);
}
pipeline.addLast("decoder", new HttpRequestDecoder());
pipeline.addLast("aggregator", new HttpChunkAggregator(1024 * 1024));
pipeline.addLast("encoder", new HttpResponseEncoder());
pipeline.addLast("compressor", new HttpContentCompressor());
pipeline.addLast("executionHandler", executionHandler);
pipeline.addLast("handler", new Handler());