AppendBlobURL Class

Definition

Represents a URL to an append blob. It may be obtained by direct construction or via the create method on a ContainerURL object. This class does not hold any state about a particular append blob but is instead a convenient way of sending off appropriate requests to the resource on the service. Please refer to the Azure Docs

public class AppendBlobURL extends BlobURL
Inheritance
java.lang.Object
AppendBlobURL

Inherited Members

Constructors

AppendBlobURL(URL url, HttpPipeline pipeline)

Creates aAppendBlobURL  object pointing to the account specified by the URL and using the provided pipeline to make HTTP requests.

Fields

MAX_APPEND_BLOCK_BYTES

Indicates the maximum number of bytes that can be sent in a call to appendBlock.

MAX_BLOCKS

Indicates the maximum number of blocks allowed in an append blob.

Methods

appendBlock(Flowable<ByteBuffer> data, long length)

Commits a new block of data to the end of the existing append blob. For more information, see the Azure Docs.

Note that the data passed must be replayable if retries are enabled (the default). In other words, the Flowable  must produce the same data each time it is subscribed to.

appendBlock(Flowable<ByteBuffer> data, long length, AppendBlobAccessConditions appendBlobAccessConditions, Context context)

Commits a new block of data to the end of the existing append blob. For more information, see the Azure Docs.

Note that the data passed must be replayable if retries are enabled (the default). In other words, the Flowable  must produce the same data each time it is subscribed to.

appendBlockFromUrl(URL sourceURL, BlobRange sourceRange)

Commits a new block of data from another blob to the end of this append blob. For more information, see the Azure Docs.

appendBlockFromUrl(URL sourceURL, BlobRange sourceRange, byte[] sourceContentMD5, AppendBlobAccessConditions destAccessConditions, SourceModifiedAccessConditions sourceAccessConditions, Context context)

Commits a new block of data from another blob to the end of this append blob. For more information, see the Azure Docs.

create()

Creates a 0-length append blob. Call AppendBlock to append data to an append blob. For more information, see the Azure Docs.

create(BlobHTTPHeaders headers, Metadata metadata, BlobAccessConditions accessConditions, Context context)

Creates a 0-length append blob. Call AppendBlock to append data to an append blob. For more information, see the Azure Docs.

withPipeline(HttpPipeline pipeline)

Creates a new AppendBlobURL with the given pipeline.

withSnapshot(String snapshot)

Creates a newAppendBlobURL  with the given snapshot.

Applies to