public class FetchCommandParser extends AbstractImapCommandParser
| Constructor and Description |
|---|
FetchCommandParser() |
| Modifier and Type | Method and Description |
|---|---|
protected ImapMessage |
decode(ImapCommand command,
ImapRequestLineReader request,
String tag,
boolean useUids,
ImapSession session) |
protected ImapMessage |
decode(ImapCommand command,
ImapRequestLineReader request,
String tag,
ImapSession session)
Parses a request into a command message for later processing.
|
ImapMessage |
decode(ImapRequestLineReader request,
String tag,
boolean useUids,
ImapSession session) |
protected FetchData |
fetchRequest(ImapRequestLineReader request)
Create a
FetchData by reading from the
ImapRequestLineReader |
getCommand, getStatusResponseFactory, parse, setStatusResponseFactoryprotected FetchData fetchRequest(ImapRequestLineReader request) throws DecodingException
FetchData by reading from the
ImapRequestLineReaderrequest - DecodingExceptionprotected ImapMessage decode(ImapCommand command, ImapRequestLineReader request, String tag, boolean useUids, ImapSession session) throws DecodingException
DecodingExceptionAbstractUidCommandParser.decode(org.apache.james.imap.api.ImapCommand,
org.apache.james.imap.decode.ImapRequestLineReader, java.lang.String,
boolean, org.apache.james.imap.api.process.ImapSession)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 parsedpublic ImapMessage decode(ImapRequestLineReader request, String tag, boolean useUids, ImapSession session) throws DecodingException
DecodingExceptionCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.