@Override
            protected void configurePipeline(ChannelHandlerContext ctx, String protocol) throws Exception {
                if (ApplicationProtocolNames.HTTP_2.equals(protocol)) {
                    ctx.pipeline().addLast(bizGroup, "Http2ChannelHandler",
                        new Http2ChannelHandlerBuilder(serverHandler).build());
                    return;
                }

                if (ApplicationProtocolNames.HTTP_1_1.equals(protocol)) {
                    ctx.pipeline().addLast("HttpServerCodec", new HttpServerCodec());
                    ctx.pipeline().addLast("HttpObjectAggregator", new HttpObjectAggregator(maxHttpContentLength));
                    ctx.pipeline().addLast(bizGroup, "Http1ChannelHandler",
                        new Http1ServerChannelHandler(serverHandler));
                    return;
                }

                throw new IllegalStateException("unknown protocol: " + protocol);
            }
Configure the pipeline for TLS NPN negotiation to HTTP/2.
remoting/remoting-http/src/main/java/com/alipay/sofa/rpc/transport/http/Http2ServerChannelInitializer.java