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