Returns a new HTTPCookie that preserve existing member values but sets the cookie domain to newDomain
Returns a new HTTPCookie that preserve existing member values but sets the cookie domain to newDomain
- the new cookie domain
HTTPCookie
Returns a new HTTPCookie that preserve existing member values but sets the httpOnly attribute
Returns a new HTTPCookie that preserve existing member values but sets the httpOnly attribute
- should the cookie be flagged as HTTP Only (only works in Servlet 3.0 containers)
HTTPCookie
Returns a new HTTPCookie that preserve existing member values but sets the cookie maxAge to newVMaxAge
Returns a new HTTPCookie that preserve existing member values but sets the cookie maxAge to newVMaxAge
- the new cookie maxAge
HTTPCookie
Returns a new HTTPCookie that preserve existing member values but sets the cookie path to newPath
Returns a new HTTPCookie that preserve existing member values but sets the cookie path to newPath
- the new cookie path
HTTPCookie
Returns a new HTTPCookie that preserve existing member values but sets the cookie secure flag to newSecure
Returns a new HTTPCookie that preserve existing member values but sets the cookie secure flag to newSecure
- the new cookie secure flag
HTTPCookie
Returns a new HTTPCookie that preserve existing member values but sets the cookie value to newValue
Returns a new HTTPCookie that preserve existing member values but sets the cookie value to newValue
- the new cookie value
HTTPCookie
Returns a new HTTPCookie that preserve existing member values but sets the cookie version to newVersion
Returns a new HTTPCookie that preserve existing member values but sets the cookie version to newVersion
- the new cookie version
HTTPCookie
Repersents an immutable representation of an HTTP Cookie