public class CookieSettingReader extends HeaderReader<CookieSetting>
Constructor and Description |
---|
CookieSettingReader(java.lang.String header)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static CookieSetting |
read(java.lang.String cookieSetting)
Parses the given String to a CookieSetting
|
CookieSetting |
readValue()
Read the next value.
|
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
public CookieSettingReader(java.lang.String header)
header
- The header to read.public static CookieSetting read(java.lang.String cookieSetting) throws java.lang.IllegalArgumentException
cookieSetting
- java.lang.IllegalArgumentException
- Thrown if the String can not be parsed as CookieSetting.public CookieSetting readValue() throws java.io.IOException
HeaderReader
readValue
in class HeaderReader<CookieSetting>
java.io.IOException
Copyright © 2005-2020 Restlet.