- <init>
Constructor of the Cookie that uses a default version of 1, which is used by RFC
2109. This contains
- getName
This returns the name for this cookie. The name and value attributes of a cookie
define what the Coo
- setDomain
This enables the domain for this Cookie to be set. The form of the domain is
specified by RFC 2109.
- getValue
This returns the value for this cookie. The name and value attributes of a
cookie define what the Co
- setPath
This is used to set the cookie path for this cookie. This is set so that the
cookie can specify the
- setVersion
This enables the version of the Cookie to be set. By default the version of the
Cookie is set to 1.
- getExpiry
This returns the number of seconds a cookie lives for. This determines how long
the cookie will live
- setExpiry
This allows a lifetime to be specified for the cookie. This will make use of the
"max-age" token spe
- setSecure
This is used to determine if the client browser should send this cookie over a
secure protocol. If t
- getPath
This returns the path for this cookie. The path is in both the Cookie and
Set-Cookie headers and so
- getVersion
This returns the version for this cookie. The version is not optional and so
will always return the
- getSecure