Package | Description |
---|---|
javax.ws.rs.client |
The JAX-RS client API
|
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.client.rx.guava |
Jersey Reactive Client - Guava (ListenableFuture) provider.
|
org.glassfish.jersey.client.rx.jsr166e |
Jersey Reactive Client - JSR 166e, pre-Java 8,
(CompletableFuture) provider.
|
org.glassfish.jersey.client.rx.rxjava |
Jersey Reactive Client - RxJava (Observable) provider.
|
org.glassfish.jersey.media.sse |
Support for Server Sent events in Jersey.
|
org.glassfish.jersey.test |
Jersey test framework common classes that support testing JAX-RS and Jersey-based applications.
|
Modifier and Type | Method and Description |
---|---|
WebTarget |
WebTarget.matrixParam(String name,
Object... values)
Create a new
WebTarget instance by appending a matrix parameter to
the existing set of matrix parameters of the current final segment of the
URI of the current target instance. |
WebTarget |
WebTarget.path(String path)
Create a new
WebTarget instance by appending path to the URI of
the current target instance. |
WebTarget |
WebTarget.queryParam(String name,
Object... values)
Create a new
WebTarget instance by configuring a query parameter on the URI
of the current target instance. |
WebTarget |
WebTarget.resolveTemplate(String name,
Object value)
Create a new
WebTarget instance by resolving a URI template with a given name
in the URI of the current target instance using a supplied value. |
WebTarget |
WebTarget.resolveTemplate(String name,
Object value,
boolean encodeSlashInPath)
Create a new
WebTarget instance by resolving a URI template with a given name
in the URI of the current target instance using a supplied value. |
WebTarget |
WebTarget.resolveTemplateFromEncoded(String name,
Object value)
Create a new
WebTarget instance by resolving a URI template with a given name
in the URI of the current target instance using a supplied encoded value. |
WebTarget |
WebTarget.resolveTemplates(Map<String,Object> templateValues)
Create a new
WebTarget instance by resolving one or more URI templates
in the URI of the current target instance using supplied name-value pairs. |
WebTarget |
WebTarget.resolveTemplates(Map<String,Object> templateValues,
boolean encodeSlashInPath)
Create a new
WebTarget instance by resolving one or more URI templates
in the URI of the current target instance using supplied name-value pairs. |
WebTarget |
WebTarget.resolveTemplatesFromEncoded(Map<String,Object> templateValues)
Create a new
WebTarget instance by resolving one or more URI templates
in the URI of the current target instance using supplied name-encoded value pairs. |
WebTarget |
Client.target(Link link)
Build a new web resource target.
|
WebTarget |
Client.target(String uri)
Build a new web resource target.
|
WebTarget |
Client.target(URI uri)
Build a new web resource target.
|
WebTarget |
Client.target(UriBuilder uriBuilder)
Build a new web resource target.
|
Modifier and Type | Class and Description |
---|---|
class |
JerseyWebTarget
Jersey implementation of
JAX-RS client target
contract. |
Modifier and Type | Method and Description |
---|---|
static <C> C |
WebResourceFactory.newResource(Class<C> resourceInterface,
WebTarget target)
Creates a new client-side representation of a resource described by
the interface passed in the first argument.
|
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 | Interface and Description |
---|---|
interface |
RxWebTarget<RX extends RxInvoker>
A reactive resource target identified by the resource URI.
|
Modifier and Type | Method and Description |
---|---|
static <RX extends RxInvoker> |
Rx.from(WebTarget target,
Class<RX> invokerType)
Create a new
reactive client target instance initialized with given
JAX-RS client web target instance and parametrized with provided reactive invocation type. |
static <RX extends RxInvoker> |
Rx.from(WebTarget target,
Class<RX> invokerType,
ExecutorService executor)
Create a new
reactive client target instance initialized with given
JAX-RS client web target instance and parametrized with provided reactive invocation type. |
Modifier and Type | Method and Description |
---|---|
static RxWebTarget<RxListenableFutureInvoker> |
RxListenableFuture.from(WebTarget target)
Create a new
reactive client target instance initialized with given
JAX-RS client web target instance and parametrized with invoker based on the
listenable future from Guava. |
static RxWebTarget<RxListenableFutureInvoker> |
RxListenableFuture.from(WebTarget target,
ExecutorService executor)
Create a new
reactive client target instance initialized with given
JAX-RS client web target instance and parametrized with invoker based on the
listenable future from Guava. |
Modifier and Type | Method and Description |
---|---|
static RxWebTarget<RxCompletableFutureInvoker> |
RxCompletableFuture.from(WebTarget target)
Create a new
reactive client target instance initialized with given
JAX-RS client web target instance and parametrized with invoker based on the
completable future from JSR-166e (pre-Java 8). |
static RxWebTarget<RxCompletableFutureInvoker> |
RxCompletableFuture.from(WebTarget target,
ExecutorService executor)
Create a new
reactive client target instance initialized with given
JAX-RS client web target instance and parametrized with invoker based on the
completable future from JSR-166e (pre-Java 8). |
Modifier and Type | Method and Description |
---|---|
static RxWebTarget<RxObservableInvoker> |
RxObservable.from(WebTarget target)
Create a new
reactive client target instance initialized with given
JAX-RS client web target instance and parametrized with invoker based on the observable from RxJava. |
static RxWebTarget<RxObservableInvoker> |
RxObservable.from(WebTarget target,
ExecutorService executorService)
Create a new
reactive client target instance initialized with given
JAX-RS client web target instance and parametrized with invoker based on the observable from RxJava. |
Modifier and Type | Method and Description |
---|---|
static EventSource.Builder |
EventSource.target(WebTarget endpoint)
Create a new
event source builder that provides convenient way how to
configure and fine-tune various aspects of a newly prepared event source instance. |
Constructor and Description |
---|
EventSource(WebTarget endpoint)
Create new SSE event source and open a connection it to the supplied SSE streaming
web target . |
EventSource(WebTarget endpoint,
boolean open)
Create new SSE event source pointing at a SSE streaming
web target . |
Modifier and Type | Method and Description |
---|---|
WebTarget |
JerseyTest.target()
Create a JAX-RS web target whose URI refers to the
base URI the tested
JAX-RS / Jersey application is deployed at, plus the path specified in the path argument. |
WebTarget |
JerseyTest.target(String path)
Create a JAX-RS web target whose URI refers to the
base URI the tested
JAX-RS / Jersey application is deployed at, plus the path specified in the path argument. |
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.