download Stream
See downloadStream(EntityValue, StreamLink, HttpHeaders?, RequestOptions?).
Return
(see linked method).
Parameters
Entity parameter.
Link parameter.
See downloadStream(EntityValue, StreamLink, HttpHeaders?, RequestOptions?).
Return
(see linked method).
Parameters
Entity parameter.
Link parameter.
Headers parameter.
Add a "download stream" query to the batch, to obtain a stream for downloading the content of a stream property from the target system. Caution: streams are often used for large content that may not fit (all at once) in available application memory. Having too many threads simultaneously downloading streams, or using {@link com.sap.cloud.mobile.kotlin.odata.ByteStream#readAndClose() ByteStream.readAndClose}, may result in out-of-memory conditions on memory-constrained devices.
- See Also:
-
{@link com.sap.cloud.mobile.kotlin.odata.QueryResult#getByteStream() QueryResult.getByteStream}, {@link com.sap.cloud.mobile.kotlin.odata.QueryResult#getCharStream() QueryResult.getCharStream}.
Return
A data query representing the stream download request.
Parameters
Entity containing the stream property whose content is to be downloaded.
Stream link for the stream to be downloaded.
(nullable) Request-specific headers.
(nullable) Request-specific options.