public class ExamineProcessor extends AbstractMailboxProcessor<M>
PermitEnableCapabilityProcessor.EnableException
ImapProcessor.Responder
Constructor and Description |
---|
ExamineProcessor(ImapProcessor next,
org.apache.james.mailbox.MailboxManager mailboxManager,
StatusResponseFactory statusResponseFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
doProcess(AbstractMailboxSelectionRequest request,
ImapSession session,
String tag,
ImapCommand command,
ImapProcessor.Responder responder) |
void |
enable(ImapMessage message,
ImapProcessor.Responder responder,
ImapSession session,
String capability)
Callback which is used when a ENABLED command was used to enable on of the CAPABILITIES which is managed by this implementation
|
List<String> |
getImplementedCapabilities(ImapSession session)
Return a list of all Capabilities that are implemented by the Processor
|
List<String> |
getPermitEnableCapabilities(ImapSession session)
Return the capabilities which supports to get ENABLED.
|
addFlagsResponses, buildFullPath, bye, bye, condstoreEnablingCommand, doProcess, flags, getMailboxManager, getSelectedMailbox, getStatusResponseFactory, idRanges, mailboxName, messageRange, no, no, normalizeMessageRange, okComplete, okComplete, permanentFlags, process, respondVanished, taggedBad, unsolicitedResponses, unsolicitedResponses
isAcceptable, process
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process
public ExamineProcessor(ImapProcessor next, org.apache.james.mailbox.MailboxManager mailboxManager, StatusResponseFactory statusResponseFactory)
protected void doProcess(AbstractMailboxSelectionRequest request, ImapSession session, String tag, ImapCommand command, ImapProcessor.Responder responder)
doProcess
in class AbstractMailboxProcessor<M extends AbstractMailboxSelectionRequest>
AbstractMailboxProcessor.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)
public List<String> getImplementedCapabilities(ImapSession session)
CapabilityImplementingProcessor
getImplementedCapabilities
in interface CapabilityImplementingProcessor
public List<String> getPermitEnableCapabilities(ImapSession session)
PermitEnableCapabilityProcessor
CapabilityImplementingProcessor.getImplementedCapabilities(ImapSession)
getPermitEnableCapabilities
in interface PermitEnableCapabilityProcessor
public void enable(ImapMessage message, ImapProcessor.Responder responder, ImapSession session, String capability) throws PermitEnableCapabilityProcessor.EnableException
PermitEnableCapabilityProcessor
enable
in interface PermitEnableCapabilityProcessor
PermitEnableCapabilityProcessor.EnableException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.