Uses of Enum
jakarta.ws.rs.core.NewCookie.SameSite
Packages that use NewCookie.SameSite
Package
Description
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.SameSiteModifier 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 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.SameSiteModifier 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.Constructors in jakarta.ws.rs.core with parameters of type NewCookie.SameSiteModifierConstructorDescriptionNewCookie
(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.