baseChannelHandlers.add(Pair.of("encoder", new HttpResponseEncoder()));
baseChannelHandlers.add(Pair.of("decompressor", new HttpContentDecompressor()));
return baseChannelHandlers;</BUG>
}
@Override
<BUG>protected List<Pair<String, ? extends ChannelHandler>> getFinalChannelHandlers(MessageInput input) {

final List<Pair<String, ? extends ChannelHandler>> handlers = Lists.newArrayList();

handlers.add(Pair.of("http-handler", new Handler(enableCors)));
handlers.addAll(super.getFinalChannelHandlers(input));
</BUG>
return handlers;

workerPoolProvider,
connectionCounter);
enableCors = configuration.getBoolean(CK_ENABLE_CORS);
}
@Override
protected LinkedHashMap<String, Callable<? extends ChannelHandler>> getBaseChannelHandlers(MessageInput input) {
final LinkedHashMap<String, Callable<? extends ChannelHandler>> baseChannelHandlers =
super.getBaseChannelHandlers(input);
baseChannelHandlers.put("decoder", new Callable<ChannelHandler>() {
@Override
public ChannelHandler call() throws Exception {
return new HttpRequestDecoder();
