Package org.mockserver.netty
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
ConstructorsConstructorDescriptionMockServerUnificationInitializer(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 TypeMethodDescriptionorg.mockserver.mock.action.http.HttpActionHandlervoidhandlerAdded(io.netty.channel.ChannelHandlerContext ctx) Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerRemoved, isSharable
-
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
-
getActionHandler
public org.mockserver.mock.action.http.HttpActionHandler getActionHandler() -
handlerAdded
public void handlerAdded(io.netty.channel.ChannelHandlerContext ctx) - Specified by:
handlerAddedin interfaceio.netty.channel.ChannelHandler- Overrides:
handlerAddedin classio.netty.channel.ChannelHandlerAdapter
-