Package com.linkedin.venice.listener
Class VeniceHttp2PipelineInitializerBuilder
java.lang.Object
com.linkedin.venice.listener.VeniceHttp2PipelineInitializerBuilder
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
-
Method Summary
Modifier and TypeMethodDescriptioncreateHttp2PipelineInitializer
(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 Details
-
VeniceHttp2PipelineInitializerBuilder
-
-
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:
-