Uses of Class
jakarta.ws.rs.core.NewCookie.SameSite
-
Packages that use NewCookie.SameSite Package Description jakarta.ws.rs.core Low-level interfaces and annotations used to create RESTful service resources. -
-
Uses of NewCookie.SameSite in jakarta.ws.rs.core
Methods in jakarta.ws.rs.core that return NewCookie.SameSite Modifier and Type Method Description NewCookie.SameSite
NewCookie. getSameSite()
Returns the value of theSameSite
attribute for this cookie ornull
if the attribute is not set.static NewCookie.SameSite
NewCookie.SameSite. valueOf(String name)
Returns the enum constant of this type with the specified name.static NewCookie.SameSite[]
NewCookie.SameSite. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in jakarta.ws.rs.core with parameters of type NewCookie.SameSite Modifier and Type Method Description T
NewCookie.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.Constructors in jakarta.ws.rs.core with parameters of type NewCookie.SameSite Constructor Description NewCookie(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.
-