Contains classes that allow you to manage cookies.
-
Sets the cookie creation time.
Sets the cookie expiration time.
Cookie.Builder.httpOnly(boolean httpOnly)
Specifies whether the cookie is considered HTTP only.
Creates a new Cookie
builder.
Sets the SameSite cookie attribute value that allows you to declare if your cookie should
be restricted to a first-party or same-site context.
Cookie.Builder.secure(boolean secure)
Specifies whether the cookie is restricted to a secure protocol (HTTPS or WSS) or it can
be sent using any protocol.