Package org.restlet.engine.header
Class CacheDirectiveReader
java.lang.Object
org.restlet.engine.header.HeaderReader<CacheDirective>
org.restlet.engine.header.CacheDirectiveReader
Cache directive header reader.
- Author:
- Jerome Louvel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddValues(Header header, Collection<CacheDirective> collection) 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
-
CacheDirectiveReader
Constructor.- Parameters:
header- The header to read.
-
-
Method Details
-
addValues
Adds values to the given collection.- Parameters:
header- The header to read.collection- The collection 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<CacheDirective>- Returns:
- The next value.
- Throws:
IOException
-