BatchRequestBuilder Class

public class BatchRequestBuilder
extends BaseRequestBuilder<BatchResponseContent>

Request builder for batch requests

Constructor Summary

Constructor Description
BatchRequestBuilder(String requestUrl, IBaseClient<?> client, List<? extends Option> options)

Instantiates a new batch request builder

Method Summary

Modifier and Type Method and Description
BatchRequest buildRequest(Option[] requestOptions)

Creates the request

BatchRequest buildRequest(List<? extends Option> requestOptions)

Creates the request

Methods inherited from BaseRequestBuilder

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

BatchRequestBuilder

public BatchRequestBuilder(String requestUrl, IBaseClient client, List options)

Instantiates a new batch request builder

Parameters:

requestUrl - the URL for the request
client - the client to use to execute the request
options - the request options

Method Details

buildRequest

public BatchRequest buildRequest(Option[] requestOptions)

Creates the request

Parameters:

requestOptions - the options for this request

Returns:

the IUserRequest instance

buildRequest

public BatchRequest buildRequest(List requestOptions)

Creates the request

Parameters:

requestOptions - the options for this request

Returns:

the IUserRequest instance

Applies to