com.hs.mail.imap.server.codec
Class ImapMessageEncoder
java.lang.Object
org.jboss.netty.handler.codec.oneone.OneToOneEncoder
com.hs.mail.imap.server.codec.ImapMessageEncoder
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelDownstreamHandler, org.jboss.netty.channel.ChannelHandler
@ChannelPipelineCoverage(value="all")
public class ImapMessageEncoder
- extends org.jboss.netty.handler.codec.oneone.OneToOneEncoder
Encodes an ImapMessage
into a ChannelBuffer
.
- Since:
- Jan 22, 2010
- Author:
- Won Chul Doh
Method Summary |
protected Object |
encode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
Object msg)
|
Methods inherited from class org.jboss.netty.handler.codec.oneone.OneToOneEncoder |
handleDownstream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImapMessageEncoder
public ImapMessageEncoder()
ImapMessageEncoder
public ImapMessageEncoder(String charsetName)
ImapMessageEncoder
public ImapMessageEncoder(Charset charset)
encode
protected Object encode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
Object msg)
throws Exception
- Specified by:
encode
in class org.jboss.netty.handler.codec.oneone.OneToOneEncoder
- Throws:
Exception
Copyright © 2011. All Rights Reserved.