com.noelios.restlet.util
Class CookieReader
java.lang.Object
com.noelios.restlet.util.HeaderReader
com.noelios.restlet.util.CookieReader
public class CookieReader
- extends HeaderReader
Cookie header reader.
- Author:
- Jerome Louvel (contact@noelios.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CookieReader
public CookieReader(Logger logger,
String header)
- Constructor.
- Parameters:
logger
- The logger to use.header
- The header to read.
readCookie
public Cookie readCookie()
throws IOException
- Reads the next cookie available or null.
- Returns:
- The next cookie available or null.
- Throws:
IOException
readCookieSetting
public CookieSetting readCookieSetting()
throws IOException
- Reads the next cookie setting available or null.
- Returns:
- The next cookie setting available or null.
- Throws:
IOException
Copyright © 2005-2007 Noelios Consulting.