public class BatchRequest extends RestRequest
Modifier and Type | Class and Description |
---|---|
static class |
BatchRequest.BatchRequestBuilder
Builder class for BatchRequest
|
RestRequest.RestEndpoint, RestRequest.RestMethod, RestRequest.SObjectTree
Modifier and Type | Field and Description |
---|---|
boolean |
haltOnError |
java.util.List<RestRequest> |
requests |
ALL_OR_NONE, ATTRIBUTES, BATCH_REQUESTS, BATCH_SIZE_OPTION, BODY, COMPOSITE_REQUEST, DEFAULT_BATCH_SIZE, HALT_ON_ERROR, HTTP_DATE_FORMAT, HTTP_HEADERS, IF_UNMODIFIED_SINCE, ISO8601_DATE_FORMAT, MAX_BATCH_SIZE, MAX_COLLECTION_RETRIEVE_SIZE, MEDIA_TYPE_JSON, METHOD, MIN_BATCH_SIZE, RECORDS, REFERENCE_ID, RICH_INPUT, SERVICES_DATA, SERVICES_OAUTH2, SFORCE_QUERY_OPTIONS, TYPE, URL, UTF_8
Constructor and Description |
---|
BatchRequest(java.lang.String apiVersion,
boolean haltOnError,
java.util.List<RestRequest> requests) |
asJSON, getAdditionalHttpHeaders, getBatchRequest, getCheapRequest, getCompositeRequest, getEndpoint, getMethod, getPath, getRequestBody, getRequestBodyAsJson, getRequestForCollectionCreate, getRequestForCollectionDelete, getRequestForCollectionRetrieve, getRequestForCollectionUpdate, getRequestForCollectionUpsert, getRequestForCreate, getRequestForDelete, getRequestForDescribe, getRequestForDescribeGlobal, getRequestForLimits, getRequestForMetadata, getRequestForNotification, getRequestForNotifications, getRequestForNotificationsStatus, getRequestForNotificationsUpdate, getRequestForNotificationUpdate, getRequestForObjectLayout, getRequestForPrimingRecords, getRequestForQuery, getRequestForQuery, getRequestForQueryAll, getRequestForResources, getRequestForRetrieve, getRequestForSearch, getRequestForSearchResultLayout, getRequestForSearchScopeAndOrder, getRequestForSingleAccess, getRequestForSObjectTree, getRequestForUpdate, getRequestForUpdate, getRequestForUpsert, getRequestForUserInfo, getRequestForVersions, toString
public final java.util.List<RestRequest> requests
public final boolean haltOnError
public BatchRequest(java.lang.String apiVersion, boolean haltOnError, java.util.List<RestRequest> requests) throws JSONException
JSONException