|
Restlet Framework 2.2.1 OSGi Environments |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.engine.header.HeaderReader<Cookie>
org.restlet.engine.header.CookieReader
public class CookieReader
Cookie header reader.
Constructor Summary | |
---|---|
CookieReader(String header)
Constructor. |
Method Summary | |
---|---|
static Cookie |
read(String cookie)
Parses the given String to a Cookie |
Cookie |
readValue()
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CookieReader(String header)
header
- The header to read.Method Detail |
---|
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
|
Restlet Framework 2.2.1 OSGi Environments |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |