org.mockserver.mockserver
Class MockServerInitializer

java.lang.Object
  extended by io.netty.channel.ChannelHandlerAdapter
      extended by io.netty.channel.ChannelInboundHandlerAdapter
          extended by io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
              extended by org.mockserver.mockserver.MockServerInitializer
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

public class MockServerInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>


Nested Class Summary
 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
MockServerInitializer(MockServerMatcher mockServerMatcher, LogFilter logFilter, MockServer mockServer, boolean secure)
           
 
Method Summary
 void initChannel(io.netty.channel.socket.SocketChannel ch)
           
 
Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered
 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
 
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
handlerAdded, handlerRemoved, isSharable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
 

Constructor Detail

MockServerInitializer

public MockServerInitializer(MockServerMatcher mockServerMatcher,
                             LogFilter logFilter,
                             MockServer mockServer,
                             boolean secure)
Method Detail

initChannel

public void initChannel(io.netty.channel.socket.SocketChannel ch)
                 throws Exception
Specified by:
initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
Throws:
Exception


Copyright © 2014. All rights reserved.