T
- the type of the returning objectpublic final class AzureServiceFuture<T> extends ServiceFuture<T>
Modifier and Type | Method and Description |
---|---|
static <E,V> ServiceFuture<List<E>> |
fromHeaderPageResponse(rx.Observable<ServiceResponseWithHeaders<Page<E>,V>> first,
rx.functions.Func1<String,rx.Observable<ServiceResponseWithHeaders<Page<E>,V>>> next,
ListOperationCallback<E> callback)
Creates a ServiceCall from a paging operation that returns a header response.
|
static <E> ServiceFuture<List<E>> |
fromPageResponse(rx.Observable<ServiceResponse<Page<E>>> first,
rx.functions.Func1<String,rx.Observable<ServiceResponse<Page<E>>>> next,
ListOperationCallback<E> callback)
Creates a ServiceCall from a paging operation.
|
cancel, fromBody, fromBody, fromHeaderResponse, fromResponse, fromResponse, getSubscription, isCancelled, setSubscription, success
public static <E> ServiceFuture<List<E>> fromPageResponse(rx.Observable<ServiceResponse<Page<E>>> first, rx.functions.Func1<String,rx.Observable<ServiceResponse<Page<E>>>> next, ListOperationCallback<E> callback)
E
- the element typefirst
- the observable to the first pagenext
- the observable to poll subsequent pagescallback
- the client-side callbackpublic static <E,V> ServiceFuture<List<E>> fromHeaderPageResponse(rx.Observable<ServiceResponseWithHeaders<Page<E>,V>> first, rx.functions.Func1<String,rx.Observable<ServiceResponseWithHeaders<Page<E>,V>>> next, ListOperationCallback<E> callback)
E
- the element typeV
- the header object typefirst
- the observable to the first pagenext
- the observable to poll subsequent pagescallback
- the client-side callbackCopyright © 2019. All rights reserved.