public class LsubCommandParser extends ListCommandParser
Constructor and Description |
---|
LsubCommandParser() |
Modifier and Type | Method and Description |
---|---|
protected ImapMessage |
createMessage(ImapCommand command,
String referenceName,
String mailboxPattern,
String tag) |
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) |
decode, listMailbox
getCommand, getStatusResponseFactory, parse, setStatusResponseFactory
protected ImapMessage createMessage(ImapCommand command, String referenceName, String mailboxPattern, String tag)
protected ImapMessage decode(ImapCommand command, ImapRequestLineReader request, String tag, ImapSession session) throws DecodingException
AbstractImapCommandParser
decode
in class AbstractImapCommandParser
command
- 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
DecodingException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.