Package org.restlet.engine.header
Class ExpectationReader
Expectation header reader.
- Author:
- Jerome Louvel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddValues(String header, ClientInfo clientInfo) Adds values to the given collection.Read the next value.Methods inherited from class org.restlet.engine.header.HeaderReader
addValues, canAdd, createParameter, createParameter, mark, peek, read, readActualNamedValue, readComment, readDate, readDigits, readHeader, readHeader, readNamedValue, readParameter, readQuotedString, readRawText, readRawValue, readToken, readValues, reset, skipParameterSeparator, skipSpaces, skipValueSeparator, unread
-
Constructor Details
-
ExpectationReader
Constructor.- Parameters:
header- The header to read.
-
-
Method Details
-
addValues
Adds values to the given collection.- Parameters:
header- The header to read.clientInfo- The client info to update.
-
readValue
Description copied from class:HeaderReaderRead the next value. There can be multiple values for a single header. Returns null by default.- Overrides:
readValuein classHeaderReader<Expectation>- Returns:
- The next value.
- Throws:
IOException
-