Class DownloadBlobAsyncResult
java.lang.Object
com.azure.containers.containerregistry.models.DownloadBlobAsyncResult
The object returned by the downloadBlob operation
containing the blob contents and its digest.
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Get the blob contents.writeValueTo
(WritableByteChannel channel) Transfers content bytes to theWritableByteChannel
.writeValueToAsync
(AsynchronousByteChannel channel) Transfers content bytes to theAsynchronousByteChannel
.
-
Method Details
-
getValue
Get the blob contents.- Returns:
- The contents of the blob.
-
writeValueToAsync
Transfers content bytes to theAsynchronousByteChannel
.- Parameters:
channel
- The destinationAsynchronousByteChannel
.- Returns:
- A
Mono
that completes when transfer is completed.
-
writeValueTo
Transfers content bytes to theWritableByteChannel
.- Parameters:
channel
- The destinationWritableByteChannel
.- Returns:
- A
Mono
that completes when transfer is completed. - Throws:
UncheckedIOException
- When I/O operation fails.
-