BlobURL.download(BlobRange range, BlobAccessConditions accessConditions, boolean rangeGetContentMD5, Context context) Method

Definition

Reads a range of bytes from a blob. The response also includes the blob's properties and metadata. For more information, see the Azure Docs.

Note that the response body has reliable download functionality built in, meaning that a failed download stream will be automatically retried. This behavior may be configured with ReliableDownloadOptions.

public Single<DownloadResponse> download(BlobRange range, BlobAccessConditions accessConditions, boolean rangeGetContentMD5, Context context)

Parameters

rangeGetContentMD5
boolean

Whether the contentMD5 for the specified blob range should be returned.

context
Context

Context 

</code> offers a means of passing arbitrary data (key/value pairs) to an <xref uid="" data-throw-if-not-resolved="false">com.microsoft.rest.v2.http.HttpPipeline</xref>'s policy objects. Most applications do not need to pass arbitrary data to the pipeline and can pass<code>Context.NONE 

</code> or<code>null 

</code> . Each context object is immutable. The<code>withContext 

</code> with data method creates a new<code>Context 

</code> object that refers to its parent, forming a linked list.</p>

Returns

Emits the successful response.

Remarks

Sample Code

Warning

It looks like the sample you are looking for has moved! Rest assured we are working on resolving this.

For more samples, please see the Samples file

Applies to