"/?fields=id,message&ids=List(1,2,3)¶m1=value1¶m2=value2";
BatchGetRequestBuilder<Integer, TestRecord> batchRequestBuilder1 =
new BatchGetRequestBuilder<Integer, TestRecord>("/",
TestRecord.class,
new ResourceSpecImpl(
Collections.<ResourceMethod> emptySet(),
Collections.<String, DynamicRecordMetadata> emptyMap(),
Collections.<String, DynamicRecordMetadata> emptyMap(),
Integer.class,
null,
null,
null,
Collections.<String, Object> emptyMap()),
RestliRequestOptions.DEFAULT_OPTIONS);
batchRequestBuilder1.ids(1, 2)
.fields(FIELDS.id())
.setParam("param2", "value2")
.setParam("param1", "value1");
BatchGetRequestBuilder<Integer, TestRecord> batchRequestBuilder2 =
new BatchGetRequestBuilder<Integer, TestRecord>("/",
TestRecord.class,
new ResourceSpecImpl(
Collections.<ResourceMethod> emptySet(),
Collections.<String, DynamicRecordMetadata> emptyMap(),
Collections.<String, DynamicRecordMetadata> emptyMap(),
Integer.class,
null,