All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.www.http.HttpSetCookieList

java.lang.Object
   |
   +----w3c.www.http.BasicValue
           |
           +----w3c.www.http.HttpSetCookieList

public class HttpSetCookieList
extends BasicValue

Method Index

 o addSetCookie(String, String)
Add a specific cookie to the SetCookie header value.
 o getSetCookie(String)
Get the cookie infos associated with the given cookie name, if any.
 o getSetCookies()
 o getValue()
HeaderValue implemenntation - Get this header value.
 o parse()
Parse this header value into its various components.
 o removeSetCookie(String)
Remove a predefined cookie from this SetCookie header.
 o updateByteValue()
Update the RFC822 compatible header value for this object.

Methods

 o updateByteValue
 protected void updateByteValue()
Update the RFC822 compatible header value for this object.

Overrides:
updateByteValue in class BasicValue
 o parse
 protected void parse() throws HttpParserException
Parse this header value into its various components.

Overrides:
parse in class BasicValue
 o getValue
 public Object getValue()
HeaderValue implemenntation - Get this header value.

Overrides:
getValue in class BasicValue
 o addSetCookie
 public HttpSetCookie addSetCookie(String name,
                                   String value)
Add a specific cookie to the SetCookie header value. This method creates a new, empty SetCookie holder, attaches it to the SetCookie header, and returns it.

Parameters:
name - The cookie's name.
value - The cookie's value.
 o removeSetCookie
 public boolean removeSetCookie(String name)
Remove a predefined cookie from this SetCookie header.

Parameters:
name - The name of the cookie to remove.
Returns:
A boolean true if removed, false otherwise.
 o getSetCookie
 public HttpSetCookie getSetCookie(String name)
Get the cookie infos associated with the given cookie name, if any.

Parameters:
name - The cookie's name.
Returns:
A HttpSetCookie instance, if found, or null otherwise.
 o getSetCookies
 public HttpSetCookie[] getSetCookies()

All Packages  Class Hierarchy  This Package  Previous  Next  Index