Package com.linkedin.venice.listener
Class VeniceHttp2PipelineInitializerBuilder
- java.lang.Object
-
- com.linkedin.venice.listener.VeniceHttp2PipelineInitializerBuilder
-
public class VeniceHttp2PipelineInitializerBuilder extends java.lang.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 Summary
Constructors Constructor Description VeniceHttp2PipelineInitializerBuilder(VeniceServerConfig serverConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Http2PipelineInitializer
createHttp2PipelineInitializer(java.util.function.Consumer<io.netty.channel.ChannelPipeline> existingHttpPipelineInitializer)
This function will leverage the existing HTTP/1.1 pipeline for both HTTP/1.1 and HTTP/2.
-
-
-
Constructor Detail
-
VeniceHttp2PipelineInitializerBuilder
public VeniceHttp2PipelineInitializerBuilder(VeniceServerConfig serverConfig)
-
-
Method Detail
-
createHttp2PipelineInitializer
public Http2PipelineInitializer createHttp2PipelineInitializer(java.util.function.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:
-
-