    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

##

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

##

HttpCookie()

##

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

##

path

      protected String path

  The path in which this cookie applies.

domain

      protected String domain

  The domain in which this cookie applies.

value

      protected String value

  This cookie's value.

name

      protected String name

  This cookie's name.

version

      protected int version

  Set this cookie's version.

##

HttpCookie

      public HttpCookie()

##

getPath

      public String getPath()

  Get the path to which this cookie applies.
  Returns:
    The path encoded as a String, or null if not defined.

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.

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.

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.

getVersion

      public int getVersion()

  Get this cookie's version.
  Returns:
    An integer, giving the cookie's version.

setVersion

      public void setVersion(int version)

  Set this cookie's version.
  Parameters:
    version - An integer indicating the version of this cookie.

getName

      public String getName()

  Get this cookie's name.
  Returns:
    The name of the cookie, or null if undefined.

setName

      public void setName(String name)

  Set this cookie's name.
  Parameters:
    name - The cookie's name, or null to reset the value.

getValue

      public String getValue()

  Get this cookie's value.
  Returns:
    The value, encoded as a String, or nullM if no value defined.

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