public final class RxListenableFutureInvokerProvider extends Object implements RxInvokerProvider
ListenableFuture
.Constructor and Description |
---|
RxListenableFutureInvokerProvider() |
Modifier and Type | Method and Description |
---|---|
<T> T |
getInvoker(Class<T> invokerType,
javax.ws.rs.client.Invocation.Builder builder,
ExecutorService executor)
Create an invoker of a given type.
|
public <T> T getInvoker(Class<T> invokerType, javax.ws.rs.client.Invocation.Builder builder, ExecutorService executor)
RxInvokerProvider
getInvoker
in interface RxInvokerProvider
T
- the concrete reactive invocation type.invokerType
- the invoker type.builder
- the builder to create JAX-RS invocation
invoked in reactive way.executor
- the executor service to execute reactive requests.null
if the provider does not support the requested type
.Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.