BlobDownloadAsyncResponse Class
- java.
lang. Object - com.
azure. core. http. rest. ResponseBase<H,T> - com.
azure. storage. blob. models. BlobDownloadAsyncResponse
- com.
- com.
Implements
public final class BlobDownloadAsyncResponse
extends ResponseBase<BlobDownloadHeaders,Flux<ByteBuffer>>
implements Closeable
This class contains the response information returned from the server when downloading a blob.
Constructor Summary
Method Summary
Modifier and Type | Method and Description |
---|---|
void | close() |
Mono<Void> |
writeValueToAsync(AsynchronousByteChannel channel, ProgressReporter progressReporter)
Transfers content bytes to the AsynchronousByteChannel. |
Methods inherited from ResponseBase
Methods inherited from java.lang.Object
Constructor Details
BlobDownloadAsyncResponse
public BlobDownloadAsyncResponse(HttpRequest request, int statusCode, HttpHeaders headers, Flux
Constructs a BlobDownloadAsyncResponse.
Parameters:
request
- Request sent to the service.
statusCode
- Response status code returned by the service.
headers
- Raw headers returned by the response.
value
- Stream of download data being returned by the service.
deserializedHeaders
- Headers deserialized into an object.
Method Details
close
writeValueToAsync
public Mono
Transfers content bytes to the AsynchronousByteChannel.
Parameters:
channel
- The destination AsynchronousByteChannel.
progressReporter
- Optional ProgressReporter.
Returns:
A Mono that completes when transfer is completed.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java