Request Options
Options for processing of data requests. If request options are used for {@link com.sap.cloud.mobile.kotlin.odata.RequestOptions#repeatable(com.sap.cloud.mobile.kotlin.odata.GuidValue, com.sap.cloud.mobile.kotlin.odata.GlobalDateTime) RequestOptions.repeatable} requests, a new request options object should be used for each distinct request (or the repeatability properties should be reset before object re-use). The repeated execution of a failed request should re-use the original request options object without {@link com.sap.cloud.mobile.kotlin.odata.RequestOptions#repeatable(com.sap.cloud.mobile.kotlin.odata.GuidValue, com.sap.cloud.mobile.kotlin.odata.GlobalDateTime) RequestOptions.repeatable} being reset beforehand.
Properties
Functions
Set the {@link com.sap.cloud.mobile.kotlin.odata.RequestOptions#cancelToken RequestOptions.cancelToken} and return this options object.
Return a new (mutable) request options object that is a copy of this request options object.
Set the {@link com.sap.cloud.mobile.kotlin.odata.RequestOptions#customTag RequestOptions.customTag} and return this options object.
Set the {@link com.sap.cloud.mobile.kotlin.odata.RequestOptions#joinChangeSet RequestOptions.joinChangeSet} to the provided 'entity' and return this options object. The provided entity should elsewhere be specified for a createEntity / updateEntity / deleteEntity as the first request within a change set.
Set the {@link com.sap.cloud.mobile.kotlin.odata.RequestOptions#canCombineRequests RequestOptions.canCombineRequests} property to false and return this options object.
Set the {@link com.sap.cloud.mobile.kotlin.odata.RequestOptions#mustRetainCreates RequestOptions.mustRetainCreates} property to false and return this options object.
Set the {@link com.sap.cloud.mobile.kotlin.odata.RequestOptions#repeatabilityRequestID RequestOptions.repeatabilityRequestID} and {@link com.sap.cloud.mobile.kotlin.odata.RequestOptions#repeatabilityFirstSent RequestOptions.repeatabilityFirstSent} and return this options object.
Set the {@link com.sap.cloud.mobile.kotlin.odata.RequestOptions#changeSet RequestOptions.changeSet} and return this options object.
Set the {@link com.sap.cloud.mobile.kotlin.odata.RequestOptions#updateMode RequestOptions.updateMode} and return this options object.
Set the {@link com.sap.cloud.mobile.kotlin.odata.RequestOptions#uploadGroup RequestOptions.uploadGroup} and return this options object.
Set {@link com.sap.cloud.mobile.kotlin.odata.RequestOptions#useBatchRequest RequestOptions.useBatchRequest} to true and this options object.