Package | Description |
---|---|
com.sun.jersey.api.client |
Provides support for client-side communication with HTTP-based
RESTful Web services.
|
com.sun.jersey.core.header.reader |
Provides support for reading HTTP headers.
|
com.sun.jersey.spi.container |
Provides support for containers and the web application that manages
resource classes.
|
javax.ws.rs.core |
Low-level interfaces and annotations used to create RESTful service
resources.
|
Modifier and Type | Method and Description |
---|---|
WebResource.Builder |
WebResource.cookie(Cookie cookie) |
ViewResource.Builder |
ViewResource.cookie(Cookie cookie) |
T |
RequestBuilder.cookie(Cookie cookie)
Add a cookie to be set.
|
T |
PartialRequestBuilder.cookie(Cookie cookie) |
AsyncWebResource.Builder |
AsyncWebResource.cookie(Cookie cookie) |
AsyncViewResource.Builder |
AsyncViewResource.cookie(Cookie cookie) |
Modifier and Type | Method and Description |
---|---|
static Cookie |
HttpHeaderReader.readCookie(java.lang.String header) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,Cookie> |
HttpHeaderReader.readCookies(java.lang.String header) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Cookie> |
ContainerRequest.getCookies() |
java.util.Map<java.lang.String,Cookie> |
AdaptingContainerRequest.getCookies() |
Modifier and Type | Class and Description |
---|---|
class |
NewCookie
Used to create a new HTTP cookie, transferred in a response.
|
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.
|
Copyright © 2016 Oracle Corporation. All Rights Reserved.