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
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

    io.netty.channel.ChannelHandler.Sharable
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    configurePipeline(io.netty.channel.ChannelHandlerContext ctx, String protocol)
     

    Methods inherited from class io.netty.handler.ssl.ApplicationProtocolNegotiationHandler

    channelInactive, channelRead, exceptionCaught, handlerAdded, handlerRemoved, handshakeFailure, userEventTriggered

    Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter

    channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged

    Methods inherited from class io.netty.channel.ChannelHandlerAdapter

    ensureNotSharable, isSharable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • configurePipeline

      protected void configurePipeline(io.netty.channel.ChannelHandlerContext ctx, String protocol)
      Specified by:
      configurePipeline in class io.netty.handler.ssl.ApplicationProtocolNegotiationHandler