public final class RxObservable extends Object
reactive client
or reactive client target instances based on RxJava's
observable.Rx| Modifier and Type | Method and Description |
|---|---|
static RxClient<RxObservableInvoker> |
from(javax.ws.rs.client.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> |
from(javax.ws.rs.client.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. |
static RxWebTarget<RxObservableInvoker> |
from(javax.ws.rs.client.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> |
from(javax.ws.rs.client.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. |
static RxClient<RxObservableInvoker> |
newClient()
Create a new
reactive client instance parametrized with invoker based on
the observable from RxJava. |
static RxClient<RxObservableInvoker> |
newClient(ExecutorService executorService)
Create a new
reactive client instance parametrized with invoker based on
the observable from RxJava. |
public static RxClient<RxObservableInvoker> newClient()
reactive client instance parametrized with invoker based on
the observable from RxJava. Reactive requests, invoked using
rx(...) methods, do not operate by default on a particular
Scheduler.
Instance is initialized with a JAX-RS client created using the default client builder implementation class provided by the
JAX-RS implementation provider.Rx.newClient(Class)public static RxClient<RxObservableInvoker> newClient(ExecutorService executorService)
reactive client instance parametrized with invoker based on
the observable from RxJava. Reactive requests, invoked using
rx(...), operate on a Scheduler initialized with
provided executor service.
Instance is initialized with a JAX-RS client created using the default client builder implementation class provided by the
JAX-RS implementation provider.executorService - the executor service to execute reactive requests.Rx.newClient(Class)public static RxClient<RxObservableInvoker> from(javax.ws.rs.client.Client client)
reactive client instance initialized with given JAX-RS client
instance and parametrized with invoker based on the observable from RxJava. Reactive requests,
invoked using rx(...) methods,
do not operate by default on a particular Scheduler.client - the JAX-RS client used to initialize new reactive client extension.Rx.from(javax.ws.rs.client.Client, Class)public static RxClient<RxObservableInvoker> from(javax.ws.rs.client.Client client, ExecutorService executorService)
reactive client instance initialized with given JAX-RS client
instance and parametrized with invoker based on the observable from RxJava. Reactive requests,
invoked using rx(...), operate on a Scheduler
initialized with provided executor service.client - the JAX-RS client used to initialize new reactive client extension.executorService - the executor service to execute reactive requests.Rx.from(javax.ws.rs.client.Client, Class)public static RxWebTarget<RxObservableInvoker> from(javax.ws.rs.client.WebTarget target)
reactive client target instance initialized with given
JAX-RS client web target instance and parametrized with invoker based on the observable from RxJava.
Reactive requests, invoked using rx(...) methods, do not
operate by default on a particular Scheduler.target - the JAX-RS client target used to initialize new reactive client target extension.Rx.from(javax.ws.rs.client.WebTarget, Class)public static RxWebTarget<RxObservableInvoker> from(javax.ws.rs.client.WebTarget target, ExecutorService executorService)
reactive client target instance initialized with given
JAX-RS client web target instance and parametrized with invoker based on the observable from RxJava.
Reactive requests, invoked using rx(...), operate on a
Scheduler initialized with provided executor service.target - the JAX-RS client target used to initialize new reactive client target extension.executorService - the executor service to execute reactive requests.Rx.from(javax.ws.rs.client.WebTarget, Class)Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.