org.jboss.netty.example.http.snoop
Class HttpRequestHandler
java.lang.Object
org.jboss.netty.channel.SimpleChannelUpstreamHandler
org.jboss.netty.example.http.snoop.HttpRequestHandler
- All Implemented Interfaces:
- ChannelHandler, ChannelUpstreamHandler
public class HttpRequestHandler
- extends SimpleChannelUpstreamHandler
- Version:
- $Rev: 2368 $, $Date: 2010-10-18 17:19:03 +0900 (Mon, 18 Oct 2010) $
- Author:
- The Netty Project, Andy Taylor (andy.taylor@jboss.org), Trustin Lee
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler |
channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, handleUpstream, writeComplete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpRequestHandler
public HttpRequestHandler()
messageReceived
public void messageReceived(ChannelHandlerContext ctx,
MessageEvent e)
throws Exception
- Description copied from class:
SimpleChannelUpstreamHandler
- Invoked when a message object (e.g:
ChannelBuffer
) was received
from a remote peer.
- Overrides:
messageReceived
in class SimpleChannelUpstreamHandler
- Throws:
Exception
exceptionCaught
public void exceptionCaught(ChannelHandlerContext ctx,
ExceptionEvent e)
throws Exception
- Description copied from class:
SimpleChannelUpstreamHandler
- Invoked when an exception was raised by an I/O thread or a
ChannelHandler
.
- Overrides:
exceptionCaught
in class SimpleChannelUpstreamHandler
- Throws:
Exception
Copyright © 2008-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.