@ChannelHandler.Sharable
public class RequestHandler
extends org.jboss.netty.channel.SimpleChannelUpstreamHandler
SimpleChannelUpstreamHandler
which handles the requests and dispatch them.
This class is ChannelHandler.Sharable
.Modifier and Type | Field and Description |
---|---|
protected RequestDispatcher |
dispatcher |
Constructor and Description |
---|
RequestHandler(RequestDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
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) |
protected final RequestDispatcher dispatcher
public RequestHandler(RequestDispatcher dispatcher)
Copyright © 2013. All Rights Reserved.