public class ImapRequestFrameDecoder extends org.jboss.netty.handler.codec.frame.FrameDecoder implements NettyConstants
FrameDecoder
which will decode via and ImapDecoder
instanceattributes, CHUNK_WRITE_HANDLER, CONNECTION_COUNT_HANDLER, CONNECTION_LIMIT_HANDLER, CONNECTION_LIMIT_PER_IP_HANDLER, CORE_HANDLER, EXECUTION_HANDLER, FRAMER, GROUP_HANDLER, HEARTBEAT_HANDLER, REQUEST_DECODER, SSL_HANDLER, TIMEOUT_HANDLER, ZLIB_DECODER, ZLIB_ENCODER
Constructor and Description |
---|
ImapRequestFrameDecoder(org.apache.james.imap.decode.ImapDecoder decoder,
int inMemorySizeLimit,
int literalSizeLimit) |
Modifier and Type | Method and Description |
---|---|
void |
channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e) |
protected org.jboss.netty.buffer.ChannelBuffer |
createCumulationDynamicBuffer(org.jboss.netty.channel.ChannelHandlerContext ctx) |
protected Object |
decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
org.jboss.netty.buffer.ChannelBuffer buffer) |
channelClosed, channelDisconnected, decodeLast, exceptionCaught, messageReceived
public ImapRequestFrameDecoder(org.apache.james.imap.decode.ImapDecoder decoder, int inMemorySizeLimit, int literalSizeLimit)
public void channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws Exception
channelOpen
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
Exception
protected Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, org.jboss.netty.buffer.ChannelBuffer buffer) throws Exception
decode
in class org.jboss.netty.handler.codec.frame.FrameDecoder
Exception
FrameDecoder.decode(org.jboss.netty.channel.ChannelHandlerContext,
org.jboss.netty.channel.Channel, org.jboss.netty.buffer.ChannelBuffer)
protected org.jboss.netty.buffer.ChannelBuffer createCumulationDynamicBuffer(org.jboss.netty.channel.ChannelHandlerContext ctx)
createCumulationDynamicBuffer
in class org.jboss.netty.handler.codec.frame.FrameDecoder
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.