public class HttpPipeliningHandler
extends org.jboss.netty.channel.SimpleChannelHandler
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static int |
INITIAL_EVENTS_HELD |
| コンストラクタと説明 |
|---|
HttpPipeliningHandler(int maxEventsHeld) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getMaxEventsHeld() |
void |
handleDownstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelEvent e) |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
bindRequested, channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, exceptionCaught, handleUpstream, setInterestOpsRequested, unbindRequested, writeComplete, writeRequestedpublic static final int INITIAL_EVENTS_HELD
public HttpPipeliningHandler(int maxEventsHeld)
maxEventsHeld - the maximum number of channel events that will be retained prior to aborting the channel
connection. This is required as events cannot queue up indefinitely; we would run out of
memory if this was the case.public int getMaxEventsHeld()
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
messageReceived クラス内 org.jboss.netty.channel.SimpleChannelHandlerpublic void handleDownstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelEvent e)
throws Exception
handleDownstream インタフェース内 org.jboss.netty.channel.ChannelDownstreamHandlerhandleDownstream クラス内 org.jboss.netty.channel.SimpleChannelHandlerExceptionCopyright © 2009–2016. All rights reserved.