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.Responder
respond
in interface ImapProcessor.Responder
message
- not null
public final IOException getFailure()
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.