org.mockserver.proxy.http.relay
Class DirectClientHandler

java.lang.Object
  extended by io.netty.channel.ChannelHandlerAdapter
      extended by io.netty.channel.ChannelInboundHandlerAdapter
          extended by org.mockserver.proxy.http.relay.DirectClientHandler
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

public final class DirectClientHandler
extends io.netty.channel.ChannelInboundHandlerAdapter


Nested Class Summary
 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
DirectClientHandler(io.netty.util.concurrent.Promise<io.netty.channel.Channel> promise)
           
 
Method Summary
 void channelActive(io.netty.channel.ChannelHandlerContext ctx)
           
 void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable throwable)
           
 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, 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

DirectClientHandler

public DirectClientHandler(io.netty.util.concurrent.Promise<io.netty.channel.Channel> promise)
Method Detail

channelActive

public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
Specified by:
channelActive in interface io.netty.channel.ChannelInboundHandler
Overrides:
channelActive in class io.netty.channel.ChannelInboundHandlerAdapter

exceptionCaught

public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
                            Throwable throwable)
                     throws Exception
Specified by:
exceptionCaught in interface io.netty.channel.ChannelHandler
Specified by:
exceptionCaught in interface io.netty.channel.ChannelInboundHandler
Overrides:
exceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapter
Throws:
Exception


Copyright © 2014. All rights reserved.