Uses of Class
jakarta.ws.rs.core.Cookie
-
Packages that use Cookie Package Description jakarta.ws.rs.client The JAX-RS client APIjakarta.ws.rs.container Container-specific JAX-RS API.jakarta.ws.rs.core Low-level interfaces and annotations used to create RESTful service resources. -
-
Uses of Cookie in jakarta.ws.rs.client
Methods in jakarta.ws.rs.client that return types with arguments of type Cookie Modifier and Type Method Description Map<String,Cookie>
ClientRequestContext. getCookies()
Get any cookies that accompanied the request.Methods in jakarta.ws.rs.client with parameters of type Cookie Modifier and Type Method Description Invocation.Builder
Invocation.Builder. cookie(Cookie cookie)
Add a cookie to be set. -
Uses of Cookie in jakarta.ws.rs.container
Methods in jakarta.ws.rs.container that return types with arguments of type Cookie Modifier and Type Method Description Map<String,Cookie>
ContainerRequestContext. getCookies()
Get any cookies that accompanied the request. -
Uses of Cookie in jakarta.ws.rs.core
Subclasses of Cookie in jakarta.ws.rs.core Modifier and Type Class Description class
NewCookie
Used to create a new HTTP cookie, transferred in a response.Methods in jakarta.ws.rs.core that return Cookie Modifier and Type Method Description abstract Cookie
Cookie.AbstractCookieBuilder. build()
Build a newCookie
instance using all the configuration previously specified in this builder.Cookie
Cookie.Builder. build()
Cookie
NewCookie. toCookie()
Obtain a new instance of aCookie
with the same name, value, path, domain and version as thisNewCookie
.static Cookie
Cookie. valueOf(String value)
Deprecated.This method will be removed in a future version.Methods in jakarta.ws.rs.core that return types with arguments of type Cookie Modifier and Type Method Description Map<String,Cookie>
HttpHeaders. getCookies()
Get any cookies that accompanied the request.Constructors in jakarta.ws.rs.core with parameters of type Cookie Constructor Description AbstractNewCookieBuilder(Cookie cookie)
Create a new instance supplementing the information in the supplied cookie.Builder(Cookie cookie)
Create a new instance supplementing the information in the supplied cookie.NewCookie(Cookie cookie)
Deprecated.This constructor will be removed in a future version.NewCookie(Cookie cookie, String comment, int maxAge, boolean secure)
Deprecated.This constructor will be removed in a future version.NewCookie(Cookie cookie, String comment, int maxAge, Date expiry, boolean secure, boolean httpOnly)
Deprecated.This constructor will be removed in a future version.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.
-