com.hs.mail.imap.message.responder
Class AbstractImapResponder
java.lang.Object
com.hs.mail.imap.message.responder.AbstractImapResponder
- All Implemented Interfaces:
- Responder
- Direct Known Subclasses:
- DefaultImapResponder
public abstract class AbstractImapResponder
- extends Object
- implements Responder
- Since:
- Mar 17, 2010
- Author:
- Won Chul Doh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
channel
protected org.jboss.netty.channel.Channel channel
request
protected ImapRequest request
AbstractImapResponder
protected AbstractImapResponder(org.jboss.netty.channel.Channel channel,
ImapRequest request)
getChannel
public org.jboss.netty.channel.Channel getChannel()
- Specified by:
getChannel
in interface Responder
getRequest
public ImapRequest getRequest()
- Specified by:
getRequest
in interface Responder
okCompleted
public org.jboss.netty.channel.ChannelFuture okCompleted(ImapRequest request)
- Specified by:
okCompleted
in interface Responder
okCompleted
public org.jboss.netty.channel.ChannelFuture okCompleted(ImapRequest request,
String responseCode)
- Specified by:
okCompleted
in interface Responder
bye
public org.jboss.netty.channel.ChannelFuture bye(String text)
- Specified by:
bye
in interface Responder
taggedNo
public org.jboss.netty.channel.ChannelFuture taggedNo(ImapRequest request,
String text)
- Specified by:
taggedNo
in interface Responder
taggedNo
public org.jboss.netty.channel.ChannelFuture taggedNo(ImapRequest request,
String responseCode,
String text)
- Specified by:
taggedNo
in interface Responder
untaggedOK
public org.jboss.netty.channel.ChannelFuture untaggedOK(String text)
- Specified by:
untaggedOK
in interface Responder
untagged
public org.jboss.netty.channel.ChannelFuture untagged(String text)
- Specified by:
untagged
in interface Responder
message
protected void message(String message)
message
protected void message(long number)
space
protected void space()
skipNextSpace
protected void skipNextSpace()
openParen
protected void openParen(String bracket)
closeParen
protected void closeParen(String bracket)
end
protected void end()
quote
protected void quote(String message)
quoteUpper
protected void quoteUpper(String message)
nil
protected void nil()
nillableQuote
protected void nillableQuote(String message)
nillableQuotes
protected void nillableQuotes(List<String> quotes)
flags
protected void flags(javax.mail.Flags flags)
encodeDateTime
protected String encodeDateTime(Date date)
literal
protected void literal(Content content)
Copyright © 2011. All Rights Reserved.