AccessCondition.generateIfNoneMatchCondition(final String etag) Method

Definition

Returns an access condition such that an operation will be performed only if the resource's ETag value does not match the specified ETag value.

Setting this access condition modifies the request to include the HTTP If-None-Match conditional header. If this access condition is set, the operation is performed only if the ETag of the resource does not match the specified ETag.

For more information, see Specifying Conditional Headers for Blob Service Operations.

public static AccessCondition generateIfNoneMatchCondition(final String etag)

Parameters

etag
final String

A String that represents the ETag value to check.

Returns

An AccessCondition object that represents the If-None-Match condition.

Applies to