AccessCondition.generateIfModifiedSinceCondition(final Date lastMotified) Method

Definition

Returns an access condition such that an operation will be performed only if the resource has been modified since the specified time.

Setting this access condition modifies the request to include the HTTP If-Modified-Since conditional header. If this access condition is set, the operation is performed only if the resource has been modified since the specified time.

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

public static AccessCondition generateIfModifiedSinceCondition(final Date lastMotified)

Parameters

lastMotified
final Date

A java.util.Date object that represents the last-modified time to check for the resource.

Returns

An AccessCondition object that represents the If-Modified-Since condition.

Applies to