com.voidsearch.voidbase.http
Class HttpRequestHandler

java.lang.Object
  extended by org.jboss.netty.channel.SimpleChannelUpstreamHandler
      extended by com.voidsearch.voidbase.http.HttpRequestHandler
All Implemented Interfaces:
org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler

@ChannelPipelineCoverage(value="one")
public class HttpRequestHandler
extends org.jboss.netty.channel.SimpleChannelUpstreamHandler


Field Summary
protected  VoidBaseCore core
           
protected static org.slf4j.Logger logger
           
protected  boolean readingChunks
           
protected  org.jboss.netty.handler.codec.http.HttpRequest request
           
 
Constructor Summary
HttpRequestHandler()
           
 
Method Summary
 void channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
           
 void channelUnbound(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
           
 void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e)
           
 void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)
           
 
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler
channelBound, channelClosed, channelConnected, channelInterestChanged, channelOpen, childChannelClosed, childChannelOpen, handleUpstream, writeComplete
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

protected volatile org.jboss.netty.handler.codec.http.HttpRequest request

readingChunks

protected volatile boolean readingChunks

core

protected VoidBaseCore core

logger

protected static final org.slf4j.Logger logger
Constructor Detail

HttpRequestHandler

public HttpRequestHandler()
Method Detail

messageReceived

public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
                            org.jboss.netty.channel.MessageEvent e)
                     throws java.lang.Exception
Overrides:
messageReceived in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
Throws:
java.lang.Exception

exceptionCaught

public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
                            org.jboss.netty.channel.ExceptionEvent e)
Overrides:
exceptionCaught in class org.jboss.netty.channel.SimpleChannelUpstreamHandler

channelDisconnected

public void channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
                                org.jboss.netty.channel.ChannelStateEvent e)
                         throws java.lang.Exception
Overrides:
channelDisconnected in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
Throws:
java.lang.Exception

channelUnbound

public void channelUnbound(org.jboss.netty.channel.ChannelHandlerContext ctx,
                           org.jboss.netty.channel.ChannelStateEvent e)
                    throws java.lang.Exception
Overrides:
channelUnbound in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
Throws:
java.lang.Exception


Copyright © 2009. All Rights Reserved.