T - the generic typepublic interface ServiceCall<T>
| Modifier and Type | Method and Description | 
|---|---|
| void | enqueue(ServiceCallback<? super T> callback)Asynchronous requests, in this case, you receive a callback when the data has been received. | 
| T | execute()Synchronous request. | 
| jersey.repackaged.jsr166e.CompletableFuture<T> | rx()Reactive requests, in this case, you could take advantage both synchronous and asynchronous. | 
T execute() throws java.lang.RuntimeException
java.lang.RuntimeException - the exception from HTTP requestvoid enqueue(ServiceCallback<? super T> callback)
callback - the callbackjersey.repackaged.jsr166e.CompletableFuture<T> rx()