Executable<T> Interface

Type Parameters

T

the type of result produced by the execution.

Implements

public interface Executable
extends Indexable

The base interface for all template interfaces that support execute operations.

Method Summary

Modifier and Type Method and Description
abstract T execute()

Execute the request.

abstract rx.Observable<T> executeAsync()

Execute the request asynchronously.

abstract com.microsoft.rest.ServiceFuture<T> executeAsync(ServiceCallback<T> callback)

Execute the request asynchronously.

Method Details

execute

public abstract T execute()

Execute the request.

Returns:

execution result object

executeAsync

public abstract Observable executeAsync()

Execute the request asynchronously.

Returns:

the handle to the REST call

executeAsync

public abstract ServiceFuture executeAsync(ServiceCallback callback)

Execute the request asynchronously.

Parameters:

callback - the callback for success and failure

Returns:

the handle to the REST call

Applies to