Package | Description |
---|---|
com.icegreen.greenmail.imap.commands |
Modifier and Type | Method and Description |
---|---|
String |
CommandParser.astring(ImapRequestLineReader request)
Reads an argument of type "astring" from the request.
|
String |
CommandParser.atom(ImapRequestLineReader request)
Reads an argument of type "atom" from the request.
|
protected void |
CommandParser.consumeChar(ImapRequestLineReader request,
char expected)
Consumes the next character in the request, checking that it matches the
expected one.
|
protected String |
CommandParser.consumeLiteral(ImapRequestLineReader request)
Reads an argument of type "literal" from the request, in the format:
"{" charCount "}" CRLF *CHAR8
Note before calling, the request should be positioned so that nextChar
is '{'.
|
protected byte[] |
CommandParser.consumeLiteralAsBytes(ImapRequestLineReader request) |
long |
CommandParser.consumeLong(ImapRequestLineReader request) |
protected String |
CommandParser.consumeQuoted(ImapRequestLineReader request)
Reads a quoted string value from the request.
|
protected String |
CommandParser.consumeWord(ImapRequestLineReader request,
CommandParser.CharacterValidator validator)
Reads the next "word from the request, comprising all characters up to the next SPACE.
|
Date |
CommandParser.dateTime(ImapRequestLineReader request)
Reads a "date-time" argument from the request.
|
protected void |
QuotaCommand.doProcess(ImapRequestLineReader request,
ImapResponse response,
ImapSession session) |
protected void |
QuotaRootCommand.doProcess(ImapRequestLineReader request,
ImapResponse response,
ImapSession session) |
protected void |
SetQuotaCommand.doProcess(ImapRequestLineReader request,
ImapResponse response,
ImapSession session) |
void |
UidEnabledCommand.doProcess(ImapRequestLineReader request,
ImapResponse response,
ImapSession session,
boolean useUids) |
void |
CommandParser.endLine(ImapRequestLineReader request)
Consumes the request up to and including the eno-of-line.
|
javax.mail.Flags |
CommandParser.flagList(ImapRequestLineReader request)
Reads a "flags" argument from the request.
|
String |
CommandParser.mailbox(ImapRequestLineReader request)
Reads a "mailbox" argument from the request.
|
String |
CommandParser.nstring(ImapRequestLineReader request)
Reads an argument of type "nstring" from the request.
|
long |
CommandParser.number(ImapRequestLineReader request)
Reads an argument of type "number" from the request.
|
long |
CommandParser.nzNumber(ImapRequestLineReader request)
Reads an argument of type "nznumber" (a non-zero number)
(NOTE this isn't strictly as per the spec, since the spec disallows
numbers such as "0123" as nzNumbers (although it's ok as a "number".
|
IdRange[] |
CommandParser.parseIdRange(ImapRequestLineReader request)
Reads a "message set" argument, and parses into an IdSet.
|
void |
ImapCommand.process(ImapRequestLineReader request,
ImapResponse response,
ImapSession session)
Performs all processing of the current Imap request.
|
String |
CommandParser.tag(ImapRequestLineReader request)
Reads a command "tag" from the request.
|
Copyright © 2006–2019 Icegreen Technologies. All rights reserved.