public class XListProcessor extends ListProcessor implements CapabilityImplementingProcessor
ImapProcessor.Responder
Constructor and Description |
---|
XListProcessor(ImapProcessor next,
org.apache.james.mailbox.MailboxManager mailboxManager,
StatusResponseFactory factory,
MailboxTyper mailboxTyper) |
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 message,
ImapSession session,
String tag,
ImapCommand command,
ImapProcessor.Responder responder) |
List<String> |
getImplementedCapabilities(ImapSession session)
Return a list of all Capabilities that are implemented by the Processor
|
protected boolean |
isAcceptable(ImapMessage message)
Is the given message acceptable?
|
doProcess
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process
public XListProcessor(ImapProcessor next, org.apache.james.mailbox.MailboxManager mailboxManager, StatusResponseFactory factory, MailboxTyper mailboxTyper)
public List<String> getImplementedCapabilities(ImapSession session)
CapabilityImplementingProcessor
getImplementedCapabilities
in interface CapabilityImplementingProcessor
#getImplementedCapabilities(org.apache.james.imap.api.process.ImapSession)
protected boolean isAcceptable(ImapMessage message)
AbstractChainedProcessor
isAcceptable
in class ListProcessor
message
- ImapMessage
, not nullprotected void doProcess(ListRequest message, ImapSession session, String tag, ImapCommand command, ImapProcessor.Responder responder)
protected ImapResponseMessage createResponse(boolean noInferior, boolean noSelect, boolean marked, boolean unmarked, boolean hasChildren, boolean hasNoChildren, String mailboxName, char delimiter, MailboxType type)
createResponse
in class ListProcessor
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.