Uses of Class
com.icegreen.greenmail.imap.ProtocolException
Packages that use ProtocolException
-
Uses of ProtocolException in com.icegreen.greenmail.imap
Methods in com.icegreen.greenmail.imap that throw ProtocolExceptionModifier and TypeMethodDescriptionvoid
ImapRequestLineReader.commandContinuationRequest()
Sends a server command continuation request '+' back to the client, requesting more data to be sent.char
ImapRequestLineReader.consume()
Consumes the current character in the reader, so that subsequent calls to the request will provide a new character.void
ImapRequestLineReader.consumeLine()
void
ImapRequestLineReader.eol()
Moves the request line reader to end of the line, checking that no non-space character are found.boolean
ImapRequestHandler.handleRequest
(InputStream input, OutputStream output, ImapSession session) This method parses POP3 commands read off the wire in handleConnection.char
ImapRequestLineReader.nextChar()
Reads the next character in the current line.char
ImapRequestLineReader.nextWordChar()
Reads the next regular, non-space character in the current line.void
ImapRequestLineReader.read
(char[] holder) Reads and consumes a number of characters from the underlying reader, filling the char array provided. -
Uses of ProtocolException in com.icegreen.greenmail.imap.commands
Methods in com.icegreen.greenmail.imap.commands that throw ProtocolExceptionModifier and TypeMethodDescriptionCommandParser.astring
(ImapRequestLineReader request) Reads an argument of type "astring" from the request.CommandParser.atom
(ImapRequestLineReader request) Reads an argument of type "atom" from the request.byte[]
CommandParser.base64
(ImapRequestLineReader request) Reads a base64 argument 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 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.CommandParser.date
(ImapRequestLineReader request) Reads a "date" argument from the request.CommandParser.dateTime
(ImapRequestLineReader request) Reads a "date-time" argument from the request.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.CommandParser.mailbox
(ImapRequestLineReader request) Reads a "mailbox" argument from the request.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
CommandParser.tag
(ImapRequestLineReader request) Reads a command "tag" from the request.