Class VeniceHttp2PipelineInitializerBuilder

java.lang.Object
com.linkedin.venice.listener.VeniceHttp2PipelineInitializerBuilder

public class VeniceHttp2PipelineInitializerBuilder extends Object
This utility is used to manage all the HTTP/2 related configs and offer a way to spin up a pipeline to support both HTTP/1.1 and HTTP/2.
  • Constructor Details

    • VeniceHttp2PipelineInitializerBuilder

      public VeniceHttp2PipelineInitializerBuilder(VeniceServerConfig serverConfig)
  • Method Details

    • createHttp2PipelineInitializer

      public Http2PipelineInitializer createHttp2PipelineInitializer(Consumer<io.netty.channel.ChannelPipeline> existingHttpPipelineInitializer)
      This function will leverage the existing HTTP/1.1 pipeline for both HTTP/1.1 and HTTP/2.
      Parameters:
      existingHttpPipelineInitializer -
      Returns: