public class SpdySessionHandler extends io.netty.channel.ChannelDuplexHandler implements io.netty.channel.ChannelInboundMessageHandler<Object>, io.netty.channel.ChannelOutboundMessageHandler<Object>
| Constructor and Description |
|---|
SpdySessionHandler(int version,
boolean server)
Creates a new session handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelPromise promise) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
flush(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelPromise promise) |
void |
freeInboundBuffer(io.netty.channel.ChannelHandlerContext ctx) |
void |
freeOutboundBuffer(io.netty.channel.ChannelHandlerContext ctx) |
void |
inboundBufferUpdated(io.netty.channel.ChannelHandlerContext ctx) |
io.netty.buffer.MessageBuf<Object> |
newInboundBuffer(io.netty.channel.ChannelHandlerContext ctx) |
io.netty.buffer.MessageBuf<Object> |
newOutboundBuffer(io.netty.channel.ChannelHandlerContext ctx) |
bind, connect, deregister, disconnect, read, sendFilechannelActive, channelInactive, channelReadSuspended, channelRegistered, channelUnregistered, userEventTriggeredafterAdd, afterRemove, beforeAdd, beforeRemoveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchannelActive, channelInactive, channelReadSuspended, channelRegistered, channelUnregistered, userEventTriggeredpublic SpdySessionHandler(int version,
boolean server)
version - the protocol versionserver - true if and only if this session handler should
handle the server endpoint of the connection.
false if and only if this session handler should
handle the client endpoint of the connection.public io.netty.buffer.MessageBuf<Object> newInboundBuffer(io.netty.channel.ChannelHandlerContext ctx) throws Exception
public void freeInboundBuffer(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
Exceptionpublic io.netty.buffer.MessageBuf<Object> newOutboundBuffer(io.netty.channel.ChannelHandlerContext ctx) throws Exception
public void freeOutboundBuffer(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
Exceptionpublic void inboundBufferUpdated(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
inboundBufferUpdated in interface io.netty.channel.ChannelStateHandlerExceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in class io.netty.channel.ChannelHandlerAdapterExceptionpublic void close(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.ChannelPromise promise)
throws Exception
close in interface io.netty.channel.ChannelOperationHandlerclose in class io.netty.channel.ChannelDuplexHandlerExceptionCopyright © 2008-2013 The Netty Project. All Rights Reserved.