Class MockServerUnificationInitializer

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
org.mockserver.netty.MockServerUnificationInitializer
All Implemented Interfaces:
io.netty.channel.ChannelHandler

@Sharable public class MockServerUnificationInitializer extends io.netty.channel.ChannelHandlerAdapter
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
    MockServerUnificationInitializer(org.mockserver.configuration.Configuration configuration, LifeCycle server, org.mockserver.mock.HttpState httpState, org.mockserver.mock.action.http.HttpActionHandler actionHandler, org.mockserver.socket.tls.NettySslContextFactory nettySslContextFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.mockserver.mock.action.http.HttpActionHandler
     
     
    void
    handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
     

    Methods inherited from class io.netty.channel.ChannelHandlerAdapter

    ensureNotSharable, exceptionCaught, handlerRemoved, isSharable

    Methods inherited from class java.lang.Object

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

    • MockServerUnificationInitializer

      public MockServerUnificationInitializer(org.mockserver.configuration.Configuration configuration, LifeCycle server, org.mockserver.mock.HttpState httpState, org.mockserver.mock.action.http.HttpActionHandler actionHandler, org.mockserver.socket.tls.NettySslContextFactory nettySslContextFactory)
  • Method Details

    • getMcpSessionManager

      public McpSessionManager getMcpSessionManager()
    • getActionHandler

      public org.mockserver.mock.action.http.HttpActionHandler getActionHandler()
    • handlerAdded

      public void handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
      Specified by:
      handlerAdded in interface io.netty.channel.ChannelHandler
      Overrides:
      handlerAdded in class io.netty.channel.ChannelHandlerAdapter