public class EchoServerHttpOrHttp2Initializer
extends io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
| Modifier | Constructor and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configurePipeline(io.netty.channel.ChannelHandlerContext ctx,
String protocol) |
channelInactive, channelRead, exceptionCaught, handlerAdded, handlerRemoved, handshakeFailure, userEventTriggeredprotected 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)
protected void configurePipeline(io.netty.channel.ChannelHandlerContext ctx,
String protocol)
configurePipeline in class io.netty.handler.ssl.ApplicationProtocolNegotiationHandlerCopyright © 2023. All rights reserved.