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.charImapRequestLineReader.consumeAll(char c) Consumes all given chars.voidImapRequestLineReader.consumeLine()Consumes whole line till newline.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 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(byte[] holder) Reads and consumes a number of characters from the underlying reader, filling the byte 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.CommandParser.atomOnly(ImapRequestLineReader request) Reads an argument of type "atom" 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 byte[]CommandParser.consumeLiteralAsBytes(ImapRequestLineReader request) longCommandParser.consumeLong(ImapRequestLineReader request) protected StringCommandParser.consumeQuoted(ImapRequestLineReader request) Reads a quoted string value from the request.protected StringCommandParser.consumeWord(ImapRequestLineReader request) Reads the next "word" from the request, comprising all characters up to the next SPACE.protected StringCommandParser.consumeWord(ImapRequestLineReader request, CommandParser.CharacterValidator validator) Reads the next "word" from the request, comprising all characters up to the next SPACE.protected StringCommandParser.consumeWordOnly(ImapRequestLineReader request, CommandParser.CharacterValidator validator) Reads the next "word from the request, comprising all characters up to the next SPACE.CommandParser.dateTime(ImapRequestLineReader request) Reads a "date-time" argument from the request.protected voidQuotaCommand.doProcess(ImapRequestLineReader request, ImapResponse response, ImapSession session) protected voidQuotaRootCommand.doProcess(ImapRequestLineReader request, ImapResponse response, ImapSession session) 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.CommandParser.string(ImapRequestLineReader request, Charset charset) Reads an argument of type "string" from the request.CommandParser.tag(ImapRequestLineReader request) Reads a command "tag" from the request.