@Override
    protected void initChannel(Channel ch) throws Exception {
        ChannelPipeline pipeline = ch.pipeline();

        pipeline.addLast(new PassportStateOriginHandler.InboundHandler());
        pipeline.addLast(new PassportStateOriginHandler.OutboundHandler());

        if (connectionPoolConfig.isSecure()) {
            pipeline.addLast("ssl", sslContext.newHandler(ch.alloc()));
        }

        pipeline.addLast(
                BaseZuulChannelInitializer.HTTP_CODEC_HANDLER_NAME,
                new HttpClientCodec(
                        BaseZuulChannelInitializer.MAX_INITIAL_LINE_LENGTH.get(),
                        BaseZuulChannelInitializer.MAX_HEADER_SIZE.get(),
                        BaseZuulChannelInitializer.MAX_CHUNK_SIZE.get(),
                        false,
                        false));
        pipeline.addLast(new PassportStateHttpClientHandler.InboundHandler());
        pipeline.addLast(new PassportStateHttpClientHandler.OutboundHandler());
        pipeline.addLast(ORIGIN_NETTY_LOGGER, nettyLogger);
        pipeline.addLast(httpMetricsHandler);
        addMethodBindingHandler(pipeline);
        pipeline.addLast(HttpClientLifecycleChannelHandler.INBOUND_CHANNEL_HANDLER);
        pipeline.addLast(HttpClientLifecycleChannelHandler.OUTBOUND_CHANNEL_HANDLER);
        pipeline.addLast(new ClientTimeoutHandler.InboundHandler());
        pipeline.addLast(new ClientTimeoutHandler.OutboundHandler());
        pipeline.addLast(CONNECTION_POOL_HANDLER, connectionPoolHandler);
    }
Default Origin Channel Initializer

Author: Arthur Gonigberg
Date: December 01, 2017
zuul-core/src/main/java/com/netflix/zuul/netty/connectionpool/DefaultOriginChannelInitializer.java