Package org.mockserver.httpclient
Class HttpOrHttp2Initializer
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
-
- org.mockserver.httpclient.HttpOrHttp2Initializer
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public class HttpOrHttp2Initializer extends io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpOrHttp2Initializer(Consumer<io.netty.channel.ChannelPipeline> http1Initializer, Consumer<io.netty.channel.ChannelPipeline> http2Initializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigurePipeline(io.netty.channel.ChannelHandlerContext ctx, String protocol)-
Methods inherited from class io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
channelInactive, channelRead, exceptionCaught, handlerAdded, handlerRemoved, handshakeFailure, userEventTriggered
-
-
-
-
Method Detail
-
configurePipeline
protected void configurePipeline(io.netty.channel.ChannelHandlerContext ctx, String protocol)- Specified by:
configurePipelinein classio.netty.handler.ssl.ApplicationProtocolNegotiationHandler
-
-