public class ResponseEncoder extends Object implements ImapProcessor.Responder
| Constructor and Description |
|---|
ResponseEncoder(ImapEncoder encoder,
ImapResponseComposer composer,
ImapSession session) |
| Modifier and Type | Method and Description |
|---|---|
IOException |
getFailure()
Gets the recorded failure.
|
void |
respond(ImapResponseMessage message)
Writes the given response.
|
public ResponseEncoder(ImapEncoder encoder, ImapResponseComposer composer, ImapSession session)
public void respond(ImapResponseMessage message)
ImapProcessor.Responderrespond in interface ImapProcessor.Respondermessage - not nullpublic final IOException getFailure()
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.