public class FetchProcessor extends AbstractMailboxProcessor<FetchRequest>
ImapProcessor.Responder
Constructor and Description |
---|
FetchProcessor(ImapProcessor next,
org.apache.james.mailbox.MailboxManager mailboxManager,
StatusResponseFactory factory) |
Modifier and Type | Method and Description |
---|---|
protected void |
doProcess(FetchRequest request,
ImapSession session,
String tag,
ImapCommand command,
ImapProcessor.Responder responder) |
protected org.apache.james.mailbox.model.MessageResult.FetchGroup |
getFetchGroup(FetchData fetch) |
protected void |
processMessageRanges(ImapSession session,
org.apache.james.mailbox.MessageManager mailbox,
List<org.apache.james.mailbox.model.MessageRange> ranges,
FetchData fetch,
boolean useUids,
org.apache.james.mailbox.MailboxSession mailboxSession,
ImapProcessor.Responder responder)
Process the given message ranges by fetch them and pass them to the
ImapProcessor.Responder |
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
public FetchProcessor(ImapProcessor next, org.apache.james.mailbox.MailboxManager mailboxManager, StatusResponseFactory factory)
protected void doProcess(FetchRequest request, ImapSession session, String tag, ImapCommand command, ImapProcessor.Responder responder)
doProcess
in class AbstractMailboxProcessor<FetchRequest>
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)
protected void processMessageRanges(ImapSession session, org.apache.james.mailbox.MessageManager mailbox, List<org.apache.james.mailbox.model.MessageRange> ranges, FetchData fetch, boolean useUids, org.apache.james.mailbox.MailboxSession mailboxSession, ImapProcessor.Responder responder) throws org.apache.james.mailbox.exception.MailboxException
ImapProcessor.Responder
session
- mailbox
- ranges
- fetch
- useUids
- mailboxSession
- responder
- org.apache.james.mailbox.exception.MailboxException
protected org.apache.james.mailbox.model.MessageResult.FetchGroup getFetchGroup(FetchData fetch)
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.