Create a cookie.
Use Bijections.from to create a Cookie from a Netty Cookie
Get the comment.
Get the comment.
May be null.
Get the commentUrl.
Get the commentUrl.
May be null.
Create a new Cookie with the same set fields, and domain domain
.
Get the domain.
Get the domain.
May be null.
Returns true if obj
equals this
.
Returns true if obj
equals this
. Two cookies are considered equal if their names,
paths, and domains are the same (ignoring case). This mimics the equals
method on Netty's
DefaultCookie.
From Netty 3's DefaultCookie
From Netty 3's DefaultCookie
Create a new Cookie with the same set fields, and httpOnly httpOnly
Create a new Cookie with the same set fields, and maxAge maxAge
Create a new Cookie with the same set fields, and path path
.
Get the path.
Get the path.
May be null.
Create a new Cookie with the same set fields, and secure secure
Set the commentUrl.
Set the commentUrl.
(Since version 2017-08-16) Removed per RFC-6265
commentUrl
may be null.
Set the comment.
Set the comment.
(Since version 2017-08-16) Removed per RFC-6265
comment
may be null.
Set the domain.
Set the domain.
(Since version 2017-08-16) Set domain in the Cookie constructor or use Cookie.domain
domain
may be null.
(Since version 2017-08-16) Set httpOnly in the Cookie constructor or use Cookie.httpOnly
(Since version 2017-08-16) Removed per RFC-6265
(Since version 2017-08-16) Removed per RFC-6265
(Since version 2017-08-16) Use secure instead
(Since version 2017-08-16) Set secure in the Cookie constructor or use Cookie.secure
(Since version 2017-08-16) Set maxAge in the Cookie constructor or use Cookie.maxAge
Set the path.
Set the path.
(Since version 2017-08-16) Set path in the Cookie constructor or use Cookie.path
path
may be null.
(Since version 2017-08-16) Removed per RFC-6265
Set the value.
Set the value.
(Since version 2017-08-16) Set value in the Cookie constructor
value
must not be null.
(Since version 2017-08-16) Removed per RFC-6265