| Package | Description |
|---|---|
| com.microsoft.rest |
The package contains the runtime classes required for AutoRest generated
clients to compile and function.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceFuture<Void> |
ServiceFuture.fromBody(rx.Completable completable,
ServiceCallback<Void> callback)
Creates a ServiceFuture from an Completable object and a callback.
|
static <T> ServiceFuture<T> |
ServiceFuture.fromBody(rx.Observable<T> observable,
ServiceCallback<T> callback)
Creates a ServiceFuture from an observable object and a callback.
|
static <T,V> ServiceFuture<T> |
ServiceFuture.fromHeaderResponse(rx.Observable<ServiceResponseWithHeaders<T,V>> observable,
ServiceCallback<T> callback)
Creates a ServiceCall from an observable and a callback for a header response.
|
static <T> ServiceFuture<T> |
ServiceFuture.fromResponse(rx.Observable<ServiceResponse<T>> observable,
ServiceCallback<T> callback)
Creates a ServiceCall from an observable object and a callback.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/