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.
|
org.glassfish.jersey.client |
Jersey client-side classes.
|
org.glassfish.jersey.client.proxy |
This package defines a high-level (proxy-based) client API.
|
org.glassfish.jersey.client.rx |
Jersey Reactive Client API.
|
org.glassfish.jersey.server |
Jersey server-side classes.
|
org.glassfish.jersey.test.util.server |
Modifier and Type | Method and Description |
---|---|
Map<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 |
---|---|
Map<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 | 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(String value)
Creates a new instance of
Cookie by parsing the supplied string. |
Modifier and Type | Method and Description |
---|---|
Map<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,
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.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Cookie> |
ClientRequest.getCookies() |
Modifier and Type | Method and Description |
---|---|
JerseyInvocation.Builder |
JerseyInvocation.Builder.cookie(Cookie cookie) |
void |
ClientRequest.cookie(Cookie cookie)
Add new cookie to the message headers.
|
Modifier and Type | Method and Description |
---|---|
static <C> C |
WebResourceFactory.newResource(Class<C> resourceInterface,
WebTarget target,
boolean ignoreResourcePath,
MultivaluedMap<String,Object> headers,
List<Cookie> cookies,
Form form)
Creates a new client-side representation of a resource described by
the interface passed in the first argument.
|
Modifier and Type | Method and Description |
---|---|
RxInvocationBuilder<RX> |
RxInvocationBuilder.cookie(Cookie cookie) |
Modifier and Type | Method and Description |
---|---|
Map<String,Cookie> |
ContainerRequest.getCookies() |
Modifier and Type | Method and Description |
---|---|
ContainerRequestBuilder |
ContainerRequestBuilder.cookie(Cookie cookie)
Add a cookie to be set.
|
ContainerRequestBuilder |
ContainerRequestBuilder.cookies(Cookie... cookies)
Add cookies to be set.
|
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.