org.apache.commons.cactus.util
Class ClientCookie
java.lang.Object
|
+--org.apache.commons.cactus.util.ClientCookie
- public class ClientCookie
- extends java.lang.Object
Contains cookie information for cookies returned from the server to the
client.
- Version:
- 1.1
Constructor Summary |
ClientCookie(java.lang.String theName,
java.lang.String theValue,
java.lang.String theComment,
java.lang.String theDomain,
long theMaxAge,
java.lang.String thePath,
boolean isSecure,
float theVersion)
Construct a client cookie. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientCookie
public ClientCookie(java.lang.String theName,
java.lang.String theValue,
java.lang.String theComment,
java.lang.String theDomain,
long theMaxAge,
java.lang.String thePath,
boolean isSecure,
float theVersion)
- Construct a client cookie.
- Parameters:
theName
- the cookie's nametheValue
- the cookie's valuetheComment
- the cookie's commenttheDomain
- the cookie's domaintheMaxAge
- the cookie's max agethePath
- the cookie's pathisSecure
- true is the cookies is a secure cookietheVersion
- the cookie's version
getName
public java.lang.String getName()
- Returns:
- the cookie's name
getValue
public java.lang.String getValue()
- Returns:
- the cookie's value
getComment
public java.lang.String getComment()
- Returns:
- the cookie's comment
getDomain
public java.lang.String getDomain()
- Returns:
- the cookie's domain
getMaxAge
public long getMaxAge()
- Returns:
- the cookie's max age
getPath
public java.lang.String getPath()
- Returns:
- the cookie's path
isSecure
public boolean isSecure()
- Returns:
- true if the cookie is a secure cookie
getVersion
public float getVersion()
- Returns:
- the cookie's spec. version
Copyright © 2000-2001 Apache Software Foundation. All Rights Reserved.