public class ChannelImapResponseWriter extends Object implements org.apache.james.imap.encode.ImapResponseWriter
ImapResponseWriter implementation which writes the data to a
Channel| Constructor and Description |
|---|
ChannelImapResponseWriter(org.jboss.netty.channel.Channel channel) |
ChannelImapResponseWriter(org.jboss.netty.channel.Channel channel,
boolean zeroCopy) |
public ChannelImapResponseWriter(org.jboss.netty.channel.Channel channel)
public ChannelImapResponseWriter(org.jboss.netty.channel.Channel channel,
boolean zeroCopy)
public void write(byte[] buffer)
throws IOException
write in interface org.apache.james.imap.encode.ImapResponseWriterIOExceptionImapResponseWriter.write(byte[])public void write(org.apache.james.imap.message.response.Literal literal)
throws IOException
write in interface org.apache.james.imap.encode.ImapResponseWriterIOExceptionImapResponseWriter.write(org.apache.james.imap.message.response.Literal)Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.