code: private void configureH2cPipeline(ChannelPipeline pipeline) {
          // Add handler to handle http2 requests without an upgrade
          pipeline.addLast(new Http2WithPriorKnowledgeHandler(
                  interfaceId, serverName, serverConnectorFuture, this));
          // Add http2 upgrade decoder and upgrade handler
          final HttpServerCodec sourceCodec = new HttpServerCodec(reqSizeValidationConfig.getMaxUriLength(),
                                                                  reqSizeValidationConfig.getMaxHeaderSize(),
                                                                  reqSizeValidationConfig.getMaxChunkSize());
  
          final HttpServerUpgradeHandler.UpgradeCodecFactory upgradeCodecFactory = protocol -> {
              if (AsciiString.contentEquals(Http2CodecUtil.HTTP_UPGRADE_PROTOCOL_NAME, protocol)) {
                  return new Http2ServerUpgradeCodec(
                          Constants.HTTP2_SOURCE_CONNECTION_HANDLER,
                          new Http2SourceConnectionHandlerBuilder(
                                  interfaceId, serverConnectorFuture, serverName, this).build());
              } else {
                  return null;
              }
          };
          pipeline.addLast(Constants.HTTP_SERVER_CODEC, sourceCodec);
          pipeline.addLast(Constants.HTTP_COMPRESSOR, new CustomHttpContentCompressor());
          if (httpTraceLogEnabled) {
              pipeline.addLast(HTTP_TRACE_LOG_HANDLER,
                               new HttpTraceLoggingHandler(TRACE_LOG_DOWNSTREAM));
          }
          if (httpAccessLogEnabled) {
              pipeline.addLast(HTTP_ACCESS_LOG_HANDLER, new HttpAccessLoggingHandler(ACCESS_LOG));
          }
          pipeline.addLast(Constants.HTTP2_UPGRADE_HANDLER,
                           new HttpServerUpgradeHandler(sourceCodec, upgradeCodecFactory, Integer.MAX_VALUE));
          /* Max size of the upgrade request is limited to 2GB. Need to see whether there is a better approach to handle
             large upgrade requests. Requests will be propagated to next handlers if no upgrade has been attempted */
          pipeline.addLast(Constants.HTTP2_TO_HTTP_FALLBACK_HANDLER,
                           new Http2ToHttpFallbackHandler(this));
      }
docs: Configures HTTP/2 clear text pipeline.
  
  @param pipeline the channel pipeline