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.0

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.
 
Method Summary
 java.lang.String getComment()
           
 java.lang.String getDomain()
           
 long getMaxAge()
           
 java.lang.String getName()
           
 java.lang.String getPath()
           
 java.lang.String getValue()
           
 float getVersion()
           
 boolean isSecure()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 name
theValue - the cookie's value
theComment - the cookie's comment
theDomain - the cookie's domain
theMaxAge - the cookie's max age
thePath - the cookie's path
isSecure - true is the cookies is a secure cookie
theVersion - the cookie's version
Method Detail

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.