All Packages Class Hierarchy This Package Previous Next Index
Class HTTPClient.Cookie2
java.lang.Object
|
+----HTTPClient.Cookie
|
+----HTTPClient.Cookie2
- public class Cookie2
- extends Cookie
This class represents an http cookie as specified in the
HTTP State Management Mechanism spec (also known as a version 1 cookie).
- Since:
- V0.3
- Version:
- 0.3 30/01/1998
- Author:
- Ronald Tschalär
-
discard()
-
-
getVersion()
-
-
toString()
- Create a string containing all the cookie fields.
getVersion
public int getVersion()
- Returns:
- the version as an int
discard
public boolean discard()
- Returns:
- true if the cookie should be discarded at the end of the
session; false otherwise
- Overrides:
- discard in class Cookie
toString
public String toString()
- Create a string containing all the cookie fields. The format is that
used in the Set-Cookie header.
- Overrides:
- toString in class Cookie
All Packages Class Hierarchy This Package Previous Next Index