Executable<T> Interface

Type Parameters

T

the type of the resource returned from the execution.

public interface Executable extends Indexable

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

Method Summary

Modifier and Type Method and Description
T execute()

Execute the request.

Observable<T> executeAsync()

Execute the request asynchronously.

ServiceFuture<T> executeAsync(final ServiceCallback<T> callback)

Execute the request asynchronously.

Inherited Members

Method Details

execute

public T execute()

Execute the request.

Returns:

execution result object

executeAsync

public Observable executeAsync()

Execute the request asynchronously.

Returns:

the handle to the REST call

executeAsync

public ServiceFuture executeAsync(final ServiceCallback callback)

Execute the request asynchronously.

Parameters:

callback - the callback for success and failure

Returns:

the handle to the REST call

Applies to