Package org.restlet.engine.header
Class CookieSettingReader
Cookie setting header reader.
- Author:
- Jerome Louvel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CookieSettingParses the given String to a CookieSettingRead 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
-
CookieSettingReader
Constructor.- Parameters:
header- The header to read.
-
-
Method Details
-
read
Parses the given String to a CookieSetting- Parameters:
cookieSetting-- Returns:
- the CookieSetting parsed from the String
- Throws:
IllegalArgumentException- Thrown if the String can not be parsed as CookieSetting.
-
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<CookieSetting>- Returns:
- The next value.
- Throws:
IOException
-