public abstract class AbstractSelectionCommandParser extends AbstractImapCommandParser
| Constructor and Description |
|---|
AbstractSelectionCommandParser(ImapCommand command) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AbstractMailboxSelectionRequest |
createRequest(ImapCommand command,
String mailboxName,
boolean condstore,
Long lastKnownUidValidity,
Long knownModSeq,
IdRange[] uidSet,
IdRange[] knownUidSet,
IdRange[] knownSequenceSet,
String tag)
Create a new
AbstractMailboxSelectionRequest for the given arguments |
protected ImapMessage |
decode(ImapCommand command,
ImapRequestLineReader request,
String tag,
ImapSession session)
Parses a request into a command message for later processing.
|
getCommand, getStatusResponseFactory, parse, setStatusResponseFactorypublic AbstractSelectionCommandParser(ImapCommand command)
protected ImapMessage decode(ImapCommand command, ImapRequestLineReader request, String tag, ImapSession session) throws DecodingException
AbstractImapCommandParserdecode in class AbstractImapCommandParsercommand - ImapCommand to be parsed, not nullrequest - ImapRequestLineReader, not nulltag - command tag, not nullsession - imap sessionImapCommandMessage, not nullDecodingException - if the request cannot be parsedAbstractImapCommandParser.decode(org.apache.james.imap.api.ImapCommand,
org.apache.james.imap.decode.ImapRequestLineReader, java.lang.String,
org.apache.james.imap.api.process.ImapSession)protected abstract AbstractMailboxSelectionRequest createRequest(ImapCommand command, String mailboxName, boolean condstore, Long lastKnownUidValidity, Long knownModSeq, IdRange[] uidSet, IdRange[] knownUidSet, IdRange[] knownSequenceSet, String tag)
AbstractMailboxSelectionRequest for the given argumentscommand - mailboxName - condstore - lastKnownUidValidity - knownModSeq - uidSet - knownUidSet - knownSequenceSet - tag - Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.