public class IMAPRequestLineReader extends ImapRequestLineReader
ImapRequestLineReader.ATOM_CHARValidator, ImapRequestLineReader.CharacterValidator, ImapRequestLineReader.MessageSetCharValidator, ImapRequestLineReader.NoopCharValidator, ImapRequestLineReader.TagCharValidatornextChar, nextSeen| Constructor and Description |
|---|
IMAPRequestLineReader(IMAPRequest request) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
commandContinuationRequest()
Sends a server command continuation request '+' back to the client,
requesting more data to be sent.
|
char |
nextChar()
Reads the next character in the current line.
|
InputStream |
read(int size,
boolean extraCRLF)
Reads and consumes a number of characters from the underlying reader,
filling the char array provided.
|
astring, astring, atom, cap, consume, consumeChar, consumeLine, consumeLiteral, consumeLiteral, consumeQuoted, consumeQuoted, consumeWord, date, dateTime, eol, flag, flagList, isCHAR, isListWildcard, isQuotedSpecial, mailbox, mailboxUTF7, nextWordChar, nstring, number, number, nzNumber, parseIdRange, parseIdRange, tagpublic IMAPRequestLineReader(IMAPRequest request) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic char nextChar()
throws DecodingException
ImapRequestLineReaderImapRequestLineReader.consume() method is
called.nextChar in class ImapRequestLineReaderDecodingException - If the end-of-stream is reached.public InputStream read(int size, boolean extraCRLF) throws DecodingException
ImapRequestLineReaderread in class ImapRequestLineReadersize - count of characters to read and consumeextraCRLF - true if extra CRLF is wanted, false elseDecodingException - If a char can't be read into each array element.protected void commandContinuationRequest()
throws DecodingException
ImapRequestLineReadercommandContinuationRequest in class ImapRequestLineReaderDecodingExceptionCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.