Package | Description |
---|---|
javax.ws.rs.client |
The JAX-RS client API
|
org.glassfish.jersey.apache.connector |
Jersey client
connector based on the
Apache Http Client. |
org.glassfish.jersey.client |
Jersey client-side classes.
|
org.glassfish.jersey.client.oauth1 |
Jersey OAuth 1 Client API.
|
org.glassfish.jersey.client.oauth2 |
Jersey OAuth 2 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.client.spi |
Jersey client SPI classes/interfaces.
|
org.glassfish.jersey.grizzly.connector |
Jersey client
connector based on the
Grizzly Async Client. |
org.glassfish.jersey.jetty.connector |
Jersey client
connector based on the
Jetty Client. |
org.glassfish.jersey.test |
Jersey test framework common classes that support testing JAX-RS and Jersey-based applications.
|
org.glassfish.jersey.test.spi |
Jersey test framework service provider contract (SPI) classes.
|
org.glassfish.jersey.test.util.client |
Modifier and Type | Method and Description |
---|---|
abstract Client |
ClientBuilder.build()
Build a new client instance using all the configuration previously specified
in this client builder.
|
Client |
ClientRequestContext.getClient()
Get the client instance associated with the request.
|
static Client |
ClientBuilder.newClient()
Create a new
Client instance using the default client builder implementation
class provided by the JAX-RS implementation provider. |
static Client |
ClientBuilder.newClient(Configuration configuration)
Create a new custom-configured
Client instance using the default client builder
implementation class provided by the JAX-RS implementation provider. |
Modifier and Type | Method and Description |
---|---|
Connector |
ApacheConnectorProvider.getConnector(Client client,
Configuration runtimeConfig) |
Modifier and Type | Class and Description |
---|---|
class |
JerseyClient
Jersey implementation of
JAX-RS Client
contract. |
Modifier and Type | Method and Description |
---|---|
protected Connector |
HttpUrlConnectorProvider.createHttpUrlConnector(Client client,
HttpUrlConnectorProvider.ConnectionFactory connectionFactory,
int chunkSize,
boolean fixLengthStreaming,
boolean setMethodWorkaround)
Create
HttpUrlConnector . |
Connector |
HttpUrlConnectorProvider.getConnector(Client client,
Configuration config) |
Modifier and Type | Method and Description |
---|---|
Client |
OAuth1AuthorizationFlow.getAuthorizedClient()
Return the client configured for performing authorized requests to the Service Provider.
|
Modifier and Type | Method and Description |
---|---|
OAuth1Builder.FlowBuilder |
OAuth1Builder.FlowBuilder.client(Client client)
Set the client that should be used internally by the
OAuth1AuthorizationFlow to make requests to
Authorization Server. |
Modifier and Type | Method and Description |
---|---|
Client |
OAuth2CodeGrantFlow.getAuthorizedClient()
Return the client configured for performing authorized requests to the Service Provider.
|
Modifier and Type | Method and Description |
---|---|
T |
OAuth2CodeGrantFlow.Builder.client(Client client)
Set the client that should be used internally by the
OAuth1AuthorizationFlow to make requests to
Authorization Server. |
Modifier and Type | Interface and Description |
---|---|
interface |
RxClient<RX extends RxInvoker>
RxClient is the main entry point to the fluent API used to build and execute (reactive) client requests in order to consume
responses returned.
|
Modifier and Type | Method and Description |
---|---|
static <RX extends RxInvoker> |
Rx.from(Client client,
Class<RX> invokerType)
Create a new
reactive client instance initialized with given JAX-RS client
instance and parametrized with provided reactive invocation type. |
static <RX extends RxInvoker> |
Rx.from(Client client,
Class<RX> invokerType,
ExecutorService executor)
Create a new
reactive client instance initialized with given JAX-RS client
instance and parametrized with provided reactive invocation type. |
Modifier and Type | Method and Description |
---|---|
static RxClient<RxListenableFutureInvoker> |
RxListenableFuture.from(Client client)
Create a new
reactive client instance initialized with given JAX-RS client
instance and parametrized with invoker based on the listenable future from Guava. |
static RxClient<RxListenableFutureInvoker> |
RxListenableFuture.from(Client client,
ExecutorService executor)
Create a new
reactive client instance initialized with given JAX-RS client
instance and parametrized with invoker based on the listenable future from Guava. |
Modifier and Type | Method and Description |
---|---|
static RxClient<RxCompletableFutureInvoker> |
RxCompletableFuture.from(Client client)
Create a new
reactive client instance initialized with given JAX-RS client
instance and parametrized with invoker based on the completable
future from
JSR-166e (pre-Java 8). |
static RxClient<RxCompletableFutureInvoker> |
RxCompletableFuture.from(Client client,
ExecutorService executor)
Create a new
reactive client instance initialized with given JAX-RS client
instance and parametrized with invoker based on the completable
future from
JSR-166e (pre-Java 8). |
Modifier and Type | Method and Description |
---|---|
static RxClient<RxObservableInvoker> |
RxObservable.from(Client client)
Create a new
reactive client instance initialized with given JAX-RS client
instance and parametrized with invoker based on the observable from RxJava. |
static RxClient<RxObservableInvoker> |
RxObservable.from(Client client,
ExecutorService executorService)
Create a new
reactive client instance initialized with given JAX-RS client
instance and parametrized with invoker based on the observable from RxJava. |
Modifier and Type | Method and Description |
---|---|
Connector |
CachingConnectorProvider.getConnector(Client client,
Configuration runtimeConfig) |
Connector |
ConnectorProvider.getConnector(Client client,
Configuration runtimeConfig)
Get a Jersey client connector instance for a given
client instance
and Jersey client runtime configuration . |
Modifier and Type | Method and Description |
---|---|
com.ning.http.client.AsyncHttpClientConfig.Builder |
GrizzlyConnectorProvider.AsyncClientCustomizer.customize(Client client,
Configuration config,
com.ning.http.client.AsyncHttpClientConfig.Builder configBuilder)
Customize the underlying asynchronous client configuration builder.
|
Connector |
GrizzlyConnectorProvider.getConnector(Client client,
Configuration config) |
Modifier and Type | Method and Description |
---|---|
Connector |
JettyConnectorProvider.getConnector(Client client,
Configuration runtimeConfig) |
Modifier and Type | Method and Description |
---|---|
Client |
ContainerPerMethodTestNgStrategy.client() |
Client |
JerseyTest.client()
Get the JAX-RS test client that is
pre-configured
for this test. |
Client |
ContainerPerClassTestNgStrategy.client() |
Client |
ContainerPerMethodTestNgStrategy.client(Client client) |
Client |
ContainerPerClassTestNgStrategy.client(Client client) |
protected Client |
JerseyTest.getClient()
Get the JAX-RS test client that is
pre-configured
for this test. |
protected Client |
JerseyTestNg.getClient() |
protected Client |
JerseyTest.setClient(Client client)
Get the old JAX-RS test client and set a new one.
|
protected Client |
JerseyTestNg.setClient(Client client) |
Modifier and Type | Method and Description |
---|---|
Client |
ContainerPerMethodTestNgStrategy.client(Client client) |
Client |
ContainerPerClassTestNgStrategy.client(Client client) |
static void |
JerseyTest.closeIfNotNull(Client... clients)
Utility method that safely closes a client instance without throwing an exception.
|
protected Client |
JerseyTest.setClient(Client client)
Get the old JAX-RS test client and set a new one.
|
protected Client |
JerseyTestNg.setClient(Client client) |
Modifier and Type | Method and Description |
---|---|
Client |
TestNgStrategy.client()
Return a JAX-RS client.
|
Client |
TestNgStrategy.client(Client client)
Set a new JAX-RS client instance and return the old, previously stored, instance.
|
Modifier and Type | Method and Description |
---|---|
Client |
TestNgStrategy.client(Client client)
Set a new JAX-RS client instance and return the old, previously stored, instance.
|
Modifier and Type | Method and Description |
---|---|
Connector |
LoopBackConnectorProvider.getConnector(Client client,
Configuration config) |
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.