Class w3c.www.http.HttpCookie
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.www.http.HttpCookie

java.lang.Object
   |
   +----w3c.www.http.HttpCookie

public class HttpCookie
extends Object

Variable Index

 o domain
The domain in which this cookie applies.
 o name
This cookie's name.
 o path
The path in which this cookie applies.
 o value
This cookie's value.
 o version
Set this cookie's version.

Constructor Index

 o HttpCookie()

Method Index

 o getDomain()
Get the domain in which this cookie applies.
 o getName()
Get this cookie's name.
 o getPath()
Get the path to which this cookie applies.
 o getValue()
Get this cookie's value.
 o getVersion()
Get this cookie's version.
 o setDomain(String)
Set the domain in which this cookie applies.
 o setName(String)
Set this cookie's name.
 o setPath(String)
Set the path in which this cookie applies.
 o setValue(String)
Set this cookie's value.
 o setVersion(int)
Set this cookie's version.

Variables

 o path
  protected String path
The path in which this cookie applies.
 o domain
  protected String domain
The domain in which this cookie applies.
 o value
  protected String value
This cookie's value.
 o name
  protected String name
This cookie's name.
 o version
  protected int version
Set this cookie's version.

Constructors

 o HttpCookie
  public HttpCookie()

Methods

 o getPath
  public String getPath()
Get the path to which this cookie applies.
Returns:
The path encoded as a String, or null if not defined.
 o setPath
  public void setPath(String path)
Set the path in which this cookie applies.
Parameters:
path - The path to which this cookie applies, or null to reset it.
 o getDomain
  public String getDomain()
Get the domain in which this cookie applies.
Returns:
The domain in which this cookie applies, encoded as a String, or null if undefined.
 o setDomain
  public void setDomain(String domain)
Set the domain in which this cookie applies.
Parameters:
domain - The domain in which the cookie applies, or null to reset it.
 o getVersion
  public int getVersion()
Get this cookie's version.
Returns:
An integer, giving the cookie's version.
 o setVersion
  public void setVersion(int version)
Set this cookie's version.
Parameters:
version - An integer indicating the version of this cookie.
 o getName
  public String getName()
Get this cookie's name.
Returns:
The name of the cookie, or null if undefined.
 o setName
  public void setName(String name)
Set this cookie's name.
Parameters:
name - The cookie's name, or null to reset the value.
 o getValue
  public String getValue()
Get this cookie's value.
Returns:
The value, encoded as a String, or nullM if no value defined.
 o setValue
  public void setValue(String value)
Set this cookie's value.
Parameters:
value - The String encoded value, or null to reset the value.

All Packages  Class Hierarchy  This Package  Previous  Next  Index