Uses of Enum Class
jakarta.ws.rs.core.NewCookie.SameSite
Package
Description
Low-level interfaces and annotations used to create RESTful service resources.
-
Uses of NewCookie.SameSite in jakarta.ws.rs.core
Modifier and TypeMethodDescriptionNewCookie.getSameSite()
Returns the value of theSameSite
attribute for this cookie ornull
if the attribute is not set.static NewCookie.SameSite
Returns the enum constant of this class with the specified name.static NewCookie.SameSite[]
NewCookie.SameSite.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionNewCookie.AbstractNewCookieBuilder.sameSite
(NewCookie.SameSite sameSite) Set the attribute that controls whether the cookie is sent with cross-origin requests, providing protection against cross-site request forgery.ModifierConstructorDescriptionNewCookie
(Cookie cookie, String comment, int maxAge, Date expiry, boolean secure, boolean httpOnly, NewCookie.SameSite sameSite) Deprecated.This constructor will be removed in a future version.NewCookie
(String name, String value, String path, String domain, int version, String comment, int maxAge, Date expiry, boolean secure, boolean httpOnly, NewCookie.SameSite sameSite) Deprecated.This constructor will be removed in a future version.