public class StatusResponseEncoder extends AbstractChainedImapEncoder
| Constructor and Description |
|---|
StatusResponseEncoder(ImapEncoder next,
Localizer localizer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doEncode(ImapMessage acceptableMessage,
ImapResponseComposer composer,
ImapSession session)
Processes an acceptable message.
|
protected boolean |
isAcceptable(ImapMessage message)
Is the given message acceptable?
|
chainEncode, encodepublic StatusResponseEncoder(ImapEncoder next, Localizer localizer)
protected void doEncode(ImapMessage acceptableMessage, ImapResponseComposer composer, ImapSession session) throws IOException
AbstractChainedImapEncoderAbstractChainedImapEncoder.isAcceptable(ImapMessage) should be passed to this method.doEncode in class AbstractChainedImapEncoderacceptableMessage - ImapMessage, not nullcomposer - ImapResponseComposer, not nullsession - TODOIOExceptionprotected boolean isAcceptable(ImapMessage message)
AbstractChainedImapEncoderisAcceptable in class AbstractChainedImapEncodermessage - ImapMessage, not nullCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.