public class EndImapEncoder extends Object implements ImapEncoder
ImapEncoder
which should get added to the end of the encoder chain.
It will handle the response to the client about the unknown
ImapMessage
Constructor and Description |
---|
EndImapEncoder() |
Modifier and Type | Method and Description |
---|---|
void |
encode(ImapMessage message,
ImapResponseComposer composer,
ImapSession session)
Writes response.
|
public void encode(ImapMessage message, ImapResponseComposer composer, ImapSession session) throws IOException
ImapEncoder
encode
in interface ImapEncoder
message
- ImapMessage
, not nullcomposer
- ImapResponseComposer
, not nullsession
- TODOIOException
- when message encoding failsImapEncoder.encode(org.apache.james.imap.api.ImapMessage, org.apache.james.imap.encode.ImapResponseComposer,
org.apache.james.imap.api.process.ImapSession)
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.