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 TypeMethodDescriptionvoidImapRequestLineReader.commandContinuationRequest()Sends a server command continuation request '+' back to the client, requesting more data to be sent.charImapRequestLineReader.consume()Consumes the current character in the reader, so that subsequent calls to the request will provide a new character.voidImapRequestLineReader.consumeLine()voidImapRequestLineReader.eol()Moves the request line reader to end of the line, checking that no non-space character are found.booleanImapRequestHandler.handleRequest(InputStream input, OutputStream output, ImapSession session) This method parses POP3 commands read off the wire in handleConnection.charImapRequestLineReader.nextChar()Reads the next character in the current line.charImapRequestLineReader.nextWordChar()Reads the next regular, non-space character in the current line.voidImapRequestLineReader.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 voidCommandParser.consumeChar(ImapRequestLineReader request, char expected) Consumes the next character in the request, checking that it matches the expected one.protected StringCommandParser.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 StringCommandParser.consumeQuoted(ImapRequestLineReader request) Reads a quoted string value from the request.protected StringCommandParser.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.voidUidEnabledCommand.doProcess(ImapRequestLineReader request, ImapResponse response, ImapSession session, boolean useUids) voidCommandParser.endLine(ImapRequestLineReader request) Consumes the request up to and including the eno-of-line.jakarta.mail.FlagsCommandParser.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.longCommandParser.number(ImapRequestLineReader request) Reads an argument of type "number" from the request.longCommandParser.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.voidCommandParser.tag(ImapRequestLineReader request) Reads a command "tag" from the request.