@SuppressWarnings("unchecked")
    public <T> Promise<T> dispatch(final SerializedRequest request, final Class<T> resultType) {
        final Deferred<T> deferred = deferredFactory.getDeferred();
        request.getAuth().auth(new PreparedRequestImpl(this, request, deferred, resultType, null));
        return deferred.getPromise();
    }
@ SuppressWarnings ( "unchecked" ) public < T > Promise < T > dispatch ( final SerializedRequest request , final Class < T > resultType ) { final Deferred < T > deferred = deferredFactory . getDeferred ( ) ; request . getAuth ( ) . auth ( new PreparedRequestImpl ( this , request , deferred , resultType , null ) ) ; return deferred . getPromise ( ) ; }
Sends the request and return an instance of {@link Promise} expecting a sole result.

@param request       The built request
@param resultType    The class instance of the expected type in response payload
@param <T>           The expected type in response payload

@return              The promise for the dispatched request