Package org.restlet.engine.header
Class TagReader
- java.lang.Object
-
- org.restlet.engine.header.HeaderReader<Tag>
-
- org.restlet.engine.header.TagReader
-
public class TagReader extends HeaderReader<Tag>
Tag header reader.
-
-
Constructor Summary
Constructors Constructor Description TagReader(java.lang.String header)Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddValues(Header header, java.util.Collection<Tag> collection)Adds values to the given collection.TagreadValue()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
-
-
-
-
Method Detail
-
addValues
public static void addValues(Header header, java.util.Collection<Tag> collection)
Adds values to the given collection.- Parameters:
header- The header to read.collection- The collection to update.
-
readValue
public Tag readValue() throws java.io.IOException
Description copied from class:HeaderReaderRead the next value. There can be multiple values for a single header. Returns null by default.- Overrides:
readValuein classHeaderReader<Tag>- Returns:
- The next value.
- Throws:
java.io.IOException
-
-