Package org.mockserver.echo.http
Class EchoServerHttpOrHttp2Initializer
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
-
- org.mockserver.echo.http.EchoServerHttpOrHttp2Initializer
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public class EchoServerHttpOrHttp2Initializer extends io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEchoServerHttpOrHttp2Initializer(MockServerLogger mockServerLogger, io.netty.channel.socket.SocketChannel channel, BiConsumer<io.netty.channel.socket.SocketChannel,io.netty.channel.ChannelPipeline> http1Initializer, BiConsumer<io.netty.channel.socket.SocketChannel,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
-
-
-
-
Constructor Detail
-
EchoServerHttpOrHttp2Initializer
protected EchoServerHttpOrHttp2Initializer(MockServerLogger mockServerLogger, io.netty.channel.socket.SocketChannel channel, BiConsumer<io.netty.channel.socket.SocketChannel,io.netty.channel.ChannelPipeline> http1Initializer, BiConsumer<io.netty.channel.socket.SocketChannel,io.netty.channel.ChannelPipeline> http2Initializer)
-
-
Method Detail
-
configurePipeline
protected void configurePipeline(io.netty.channel.ChannelHandlerContext ctx, String protocol)- Specified by:
configurePipelinein classio.netty.handler.ssl.ApplicationProtocolNegotiationHandler
-
-