public class CookieSettingReader extends HeaderReader<CookieSetting>
Constructor and Description |
---|
CookieSettingReader(String header)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static CookieSetting |
read(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(String header)
header
- The header to read.public static CookieSetting read(String cookieSetting) throws IllegalArgumentException
cookieSetting
- IllegalArgumentException
- Thrown if the String can not be parsed as CookieSetting.public CookieSetting readValue() throws IOException
HeaderReader
readValue
in class HeaderReader<CookieSetting>
IOException
Copyright © 2005–2015. All rights reserved.