org.mockserver.echo.http
Class EchoServerInitializer

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.echo.http.EchoServerInitializer
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

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

Author:
jamesdbloom

Nested Class Summary
 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
EchoServerInitializer(boolean secure, EchoServer.Error error)
           
 
Method Summary
 void initChannel(io.netty.channel.socket.SocketChannel channel)
           
 
Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded
 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
 
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, 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
handlerRemoved
 

Constructor Detail

EchoServerInitializer

public EchoServerInitializer(boolean secure,
                             EchoServer.Error error)
Method Detail

initChannel

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


Copyright © 2017. All rights reserved.