generate IfModified Since Condition(final Date lastMotified)
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)
- final Date
java.util.Date object that represents the last-modified time to check for the resource.
AccessCondition object that represents the If-Modified-Since condition.