public class IMAPRequestLineReader extends ImapRequestLineReader
ImapRequestLineReader.ATOM_CHARValidator, ImapRequestLineReader.CharacterValidator, ImapRequestLineReader.MessageSetCharValidator, ImapRequestLineReader.NoopCharValidator, ImapRequestLineReader.TagCharValidator
nextChar, 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, tag
public IMAPRequestLineReader(IMAPRequest request) throws UnsupportedEncodingException
UnsupportedEncodingException
public char nextChar() throws DecodingException
ImapRequestLineReader
ImapRequestLineReader.consume()
method is
called.nextChar
in class ImapRequestLineReader
DecodingException
- If the end-of-stream is reached.public InputStream read(int size, boolean extraCRLF) throws DecodingException
ImapRequestLineReader
read
in class ImapRequestLineReader
size
- 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
ImapRequestLineReader
commandContinuationRequest
in class ImapRequestLineReader
DecodingException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.