public class ListProcessor extends AbstractMailboxProcessor<ListRequest>
ImapProcessor.Responder
Constructor and Description |
---|
ListProcessor(ImapProcessor next,
org.apache.james.mailbox.MailboxManager mailboxManager,
StatusResponseFactory factory) |
Modifier and Type | Method and Description |
---|---|
protected ImapResponseMessage |
createResponse(boolean noInferior,
boolean noSelect,
boolean marked,
boolean unmarked,
boolean hasChildren,
boolean hasNoChildren,
String mailboxName,
char delimiter,
MailboxType type) |
protected void |
doProcess(ListRequest request,
ImapSession session,
String tag,
ImapCommand command,
ImapProcessor.Responder responder) |
protected void |
doProcess(String referenceName,
String mailboxName,
ImapSession session,
String tag,
ImapCommand command,
ImapProcessor.Responder responder,
MailboxTyper mailboxTyper)
(from rfc3501)
The LIST command returns a subset of names from the complete set of all names available to the client. |
protected boolean |
isAcceptable(ImapMessage message)
Is the given message acceptable?
|
addFlagsResponses, buildFullPath, bye, bye, condstoreEnablingCommand, doProcess, flags, getMailboxManager, getSelectedMailbox, getStatusResponseFactory, idRanges, mailboxName, messageRange, no, no, normalizeMessageRange, okComplete, okComplete, permanentFlags, process, respondVanished, taggedBad, unsolicitedResponses, unsolicitedResponses
process
public ListProcessor(ImapProcessor next, org.apache.james.mailbox.MailboxManager mailboxManager, StatusResponseFactory factory)
protected void doProcess(ListRequest request, ImapSession session, String tag, ImapCommand command, ImapProcessor.Responder responder)
doProcess
in class AbstractMailboxProcessor<ListRequest>
#doProcess(org.apache.james.imap.api.message.request.ImapRequest,
org.apache.james.imap.api.process.ImapSession, java.lang.String,
org.apache.james.imap.api.ImapCommand,
org.apache.james.imap.api.process.ImapProcessor.Responder)
protected ImapResponseMessage createResponse(boolean noInferior, boolean noSelect, boolean marked, boolean unmarked, boolean hasChildren, boolean hasNoChildren, String mailboxName, char delimiter, MailboxType type)
protected final void doProcess(String referenceName, String mailboxName, ImapSession session, String tag, ImapCommand command, ImapProcessor.Responder responder, MailboxTyper mailboxTyper)
referenceName
- mailboxName
- session
- tag
- command
- responder
- protected boolean isAcceptable(ImapMessage message)
AbstractChainedProcessor
isAcceptable
in class AbstractChainedProcessor<ListRequest>
message
- ImapMessage
, not nullCopyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.