@SuppressWarnings("unchecked")
    public void queue(Consumer<? super T> success, Consumer<? super Throwable> failure)
    {
        Route.CompiledRoute route = finalizeRoute();
        Checks.notNull(route, "Route");
        RequestBody data = finalizeData();
        CaseInsensitiveMap<String, String> headers = finalizeHeaders();
        BooleanSupplier finisher = getFinisher();
        if (success == null)
            success = DEFAULT_SUCCESS == null ? FALLBACK_CONSUMER : DEFAULT_SUCCESS;
        if (failure == null)
            failure = DEFAULT_FAILURE == null ? FALLBACK_CONSUMER : DEFAULT_FAILURE;
        api.get().getRequester().request(new Request<>(this, success, failure, finisher, true, data, rawData, route, headers));
    }
@ SuppressWarnings ( "unchecked" ) public void queue ( Consumer < ? super T > success , Consumer < ? super Throwable > failure ) { Route . CompiledRoute route = finalizeRoute ( ) ; Checks . notNull ( route , "Route" ) ; RequestBody data = finalizeData ( ) ; CaseInsensitiveMap < String , String > headers = finalizeHeaders ( ) ; BooleanSupplier finisher = getFinisher ( ) ; if ( success == null ) success = DEFAULT_SUCCESS == null ? FALLBACK_CONSUMER : DEFAULT_SUCCESS ; if ( failure == null ) failure = DEFAULT_FAILURE == null ? FALLBACK_CONSUMER : DEFAULT_FAILURE ; api . get ( ) . getRequester ( ) . request ( new Request < > ( this , success , failure , finisher , true , data , rawData , route , headers ) ) ; }
Submits a Request for execution.

<p><b>This method is asynchronous</b>

@param  success
The success callback that will be called at a convenient time
for the API. (can be null)
@param  failure
The failure callback that will be called if the Request
encounters an exception at its execution point.