com.noelios.restlet.http
Class CookieReader

java.lang.Object
  extended by com.noelios.restlet.http.HeaderReader
      extended by com.noelios.restlet.http.CookieReader

public class CookieReader
extends HeaderReader

Cookie header reader.

Author:
Jerome Louvel

Constructor Summary
CookieReader(java.lang.String header)
          Constructor.
 
Method Summary
 Cookie readCookie()
          Reads the next cookie available or null.
 CookieSetting readCookieSetting()
          Reads the next cookie setting available or null.
 
Methods inherited from class com.noelios.restlet.http.HeaderReader
appendQuotedString, isLinearWhiteSpace, isValueSeparator, read, readQuotedString, readValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CookieReader

public CookieReader(java.lang.String header)
Constructor.

Parameters:
header - The header to read.
Method Detail

readCookie

public Cookie readCookie()
                  throws java.io.IOException
Reads the next cookie available or null.

Returns:
The next cookie available or null.
Throws:
java.io.IOException

readCookieSetting

public CookieSetting readCookieSetting()
                                throws java.io.IOException
Reads the next cookie setting available or null.

Returns:
The next cookie setting available or null.
Throws:
java.io.IOException


Copyright © 2005-2008 Noelios Technologies.