Package | Description |
---|---|
javax.ws.rs.client |
The JAX-RS client API
|
javax.ws.rs.container |
Container-specific JAX-RS API.
|
javax.ws.rs.core |
Low-level interfaces and annotations used to create RESTful service
resources.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Cookie> |
ClientRequestContext.getCookies()
Get any cookies that accompanied the request.
|
Modifier and Type | Method and Description |
---|---|
Invocation.Builder |
Invocation.Builder.cookie(Cookie cookie)
Add a cookie to be set.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Cookie> |
ContainerRequestContext.getCookies()
Get any cookies that accompanied the request.
|
Modifier and Type | Class and Description |
---|---|
class |
NewCookie
Used to create a new HTTP cookie, transferred in a response.
|
Modifier and Type | Field and Description |
---|---|
private static RuntimeDelegate.HeaderDelegate<Cookie> |
Cookie.HEADER_DELEGATE |
Modifier and Type | Method and Description |
---|---|
Cookie |
NewCookie.toCookie()
Obtain a new instance of a
Cookie with the same name, value, path,
domain and version as this NewCookie . |
static Cookie |
Cookie.valueOf(java.lang.String value)
Creates a new instance of
Cookie by parsing the supplied string. |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Cookie> |
HttpHeaders.getCookies()
Get any cookies that accompanied the request.
|
Constructor and Description |
---|
NewCookie(Cookie cookie)
Create a new instance copying the information in the supplied cookie.
|
NewCookie(Cookie cookie,
java.lang.String comment,
int maxAge,
boolean secure)
Create a new instance supplementing the information in the supplied cookie.
|
NewCookie(Cookie cookie,
java.lang.String comment,
int maxAge,
java.util.Date expiry,
boolean secure,
boolean httpOnly)
Create a new instance supplementing the information in the supplied cookie.
|