Project Wonder 5.0

com.webobjects.appserver
Class WONettyAdaptor.RequestHandler

java.lang.Object
  extended by org.jboss.netty.channel.SimpleChannelUpstreamHandler
      extended by com.webobjects.appserver.WONettyAdaptor.RequestHandler
All Implemented Interfaces:
org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler
Enclosing class:
WONettyAdaptor

protected static class WONettyAdaptor.RequestHandler
extends org.jboss.netty.channel.SimpleChannelUpstreamHandler

Originally inspired by:

See Also:
HttpRequestHandler
Author:
The Netty Project, Andy Taylor (andy.taylor@jboss.org), Trustin Lee, ravim ERWOAdaptor/WONettyAdaptor version

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
org.jboss.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
protected WONettyAdaptor.RequestHandler()
           
 
Method Summary
 void channelClosed(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)
           
protected  void handleHTTPRequest(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e, org.jboss.netty.handler.codec.http.HttpRequest _request)
           
protected  void handleUpgradeRequest(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.handler.codec.http.HttpRequest req)
           
protected  void handleWebSocketFrame(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e, org.jboss.netty.handler.codec.http.websocket.WebSocketFrame frame)
           
 void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)
           
 
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler
channelBound, 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
 

Constructor Detail

WONettyAdaptor.RequestHandler

protected WONettyAdaptor.RequestHandler()
Method Detail

channelClosed

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

messageReceived

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

handleWebSocketFrame

protected void handleWebSocketFrame(org.jboss.netty.channel.ChannelHandlerContext ctx,
                                    org.jboss.netty.channel.MessageEvent e,
                                    org.jboss.netty.handler.codec.http.websocket.WebSocketFrame frame)

handleHTTPRequest

protected void handleHTTPRequest(org.jboss.netty.channel.ChannelHandlerContext ctx,
                                 org.jboss.netty.channel.MessageEvent e,
                                 org.jboss.netty.handler.codec.http.HttpRequest _request)
                          throws IOException
Throws:
IOException

handleUpgradeRequest

protected void handleUpgradeRequest(org.jboss.netty.channel.ChannelHandlerContext ctx,
                                    org.jboss.netty.handler.codec.http.HttpRequest req)

exceptionCaught

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

Last updated: Wed, Feb 22, 2012 • 07:00 AM EST

Copyright © 2002 – 2011 Project Wonder.