BatchRequest function ( HttpRequest arg0 , Class < T > arg1 , Class < E > arg2 , BatchCallback < T , E > arg3 ) { Preconditions . checkNotNull ( arg0 ) ; Preconditions . checkNotNull ( arg3 ) ; Preconditions . checkNotNull ( arg1 ) ; Preconditions . checkNotNull ( arg2 ) ; requestInfos . add ( new RequestInfo < T , E > ( arg3 , arg1 , arg2 , arg0 ) ) ; return this ; }
queues the specified httprequest for batched execution . batched requests are executedwhen #execute is called . concode_field_sep HttpRequest request concode_elem_sep HttpRequestFactory requestFactory concode_elem_sep Class<T> dataClass concode_elem_sep Class<E> errorClass concode_elem_sep GenericUrl batchUrl concode_elem_sep Sleeper sleeper concode_elem_sep BatchCallback<T,E> callback concode_elem_sep HttpExecuteInterceptor originalInterceptor concode_elem_sep List<RequestInfo<?,?>> requestInfos concode_field_sep GenericUrl getBatchUrl concode_elem_sep int size concode_elem_sep void intercept concode_elem_sep BatchRequest setSleeper concode_elem_sep Sleeper getSleeper concode_elem_sep void execute concode_elem_sep BatchRequest setBatchUrl