org.littleshoot.proxy
Class IdleRequestHandler

java.lang.Object
  extended by org.jboss.netty.channel.SimpleChannelHandler
      extended by org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler
          extended by org.littleshoot.proxy.IdleAwareHandler
              extended by org.littleshoot.proxy.IdleRequestHandler
All Implemented Interfaces:
org.jboss.netty.channel.ChannelDownstreamHandler, org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler

public class IdleRequestHandler
extends IdleAwareHandler

Idle handler that monitors requests that haven't resolved on browser to proxy connections. Useful for debugging slow requests.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
org.jboss.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
IdleRequestHandler(HttpRequestHandler handler)
           
 
Method Summary
 void channelIdle(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.handler.timeout.IdleStateEvent e)
           
 
Methods inherited from class org.littleshoot.proxy.IdleAwareHandler
toString
 
Methods inherited from class org.jboss.netty.handler.timeout.IdleStateAwareChannelHandler
handleUpstream
 
Methods inherited from class org.jboss.netty.channel.SimpleChannelHandler
bindRequested, channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, exceptionCaught, handleDownstream, messageReceived, setInterestOpsRequested, unbindRequested, writeComplete, writeRequested
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdleRequestHandler

public IdleRequestHandler(HttpRequestHandler handler)
Method Detail

channelIdle

public void channelIdle(org.jboss.netty.channel.ChannelHandlerContext ctx,
                        org.jboss.netty.handler.timeout.IdleStateEvent e)
Overrides:
channelIdle in class IdleAwareHandler


Copyright © 2009-2013 LittleShoot. All Rights Reserved.