Create a cookie.
Create a new Cookie with the same set fields, and domain domain
.
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
.
Create a new Cookie with the same set fields, and sameSite sameSite
Create a new Cookie with the same set fields, and secure secure
Create a new Cookie with the same set fields, and value value
.
domain
andpath
may be null.