org.mockserver.echo.http
Class ErrorHandler

java.lang.Object
  extended by io.netty.channel.ChannelHandlerAdapter
      extended by io.netty.channel.ChannelInboundHandlerAdapter
          extended by io.netty.channel.ChannelDuplexHandler
              extended by org.mockserver.echo.http.ErrorHandler
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler

@ChannelHandler.Sharable
public class ErrorHandler
extends io.netty.channel.ChannelDuplexHandler

Author:
jamesdbloom

Nested Class Summary
 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
ErrorHandler(EchoServer.Error error)
           
 
Method Summary
 void read(io.netty.channel.ChannelHandlerContext ctx)
           
 
Methods inherited from class io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, write
 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
 
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, 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
exceptionCaught, handlerAdded, handlerRemoved
 

Constructor Detail

ErrorHandler

public ErrorHandler(EchoServer.Error error)
Method Detail

read

public void read(io.netty.channel.ChannelHandlerContext ctx)
          throws Exception
Specified by:
read in interface io.netty.channel.ChannelOutboundHandler
Overrides:
read in class io.netty.channel.ChannelDuplexHandler
Throws:
Exception


Copyright © 2017. All rights reserved.