public final void queue(BatchRequest batchRequest, JsonBatchCallback<T> callback)
      throws IOException {
    super.queue(batchRequest, GoogleJsonErrorContainer.class, callback);
  }
public final void queue ( BatchRequest batchRequest , JsonBatchCallback < T > callback ) throws IOException { super . queue ( batchRequest , GoogleJsonErrorContainer . class , callback ) ; }
Queues the request into the specified batch request container.

<p>
Batched requests are then executed when {@link BatchRequest#execute()} is called.
</p>
<p>
Example usage:
</p>

<pre>
request.queue(batchRequest, new JsonBatchCallback&lt;SomeResponseType&gt;() {

public void onSuccess(SomeResponseType content, HttpHeaders responseHeaders) {
log("Success");
}

public void onFailure(GoogleJsonError e, HttpHeaders responseHeaders) {
log(e.getMessage());
}
});
</pre>


@param batchRequest batch request container
@param callback batch callback