| Package | Description | 
|---|---|
| javax.ws.rs.client | The Client API | 
| javax.ws.rs.container | Container-specific API. | 
| javax.ws.rs.core | Low-level interfaces and annotations used to create RESTful service
 resources. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Map<String,Cookie> | ClientRequestContext. getCookies() | Get any cookies that accompanied the request. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Invocation.Builder | Invocation.Builder. cookie(Cookie cookie) | Add a cookie to be set. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Map<String,Cookie> | ContainerRequestContext. getCookies() | Get any cookies that accompanied the request. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | NewCookie | Used to create a new HTTP cookie, transferred in a response. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Cookie | NewCookie. toCookie() | Obtain a new instance of a  Cookiewith the same name, value, path,
 domain and version as thisNewCookie. | 
| static Cookie | Cookie. valueOf(String value) | Creates a new instance of  Cookieby parsing the supplied string. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Map<String,Cookie> | HttpHeaders. getCookies() | Get any cookies that accompanied the request. | 
| Constructor | Description | 
|---|---|
| NewCookie(Cookie cookie) | Create a new instance copying the information in the supplied cookie. | 
| NewCookie(Cookie cookie,
         String comment,
         int maxAge,
         boolean secure) | Create a new instance supplementing the information in the supplied cookie. | 
| NewCookie(Cookie cookie,
         String comment,
         int maxAge,
         Date expiry,
         boolean secure,
         boolean httpOnly) | Create a new instance supplementing the information in the supplied cookie. | 
Copyright (c) 2019 Eclipse Foundation. Licensed under Eclipse Foundation Specification License.