public final class HTTPAccessConditions extends Object
BlobAccessConditions
or ContainerAccessConditions
. Specifying these
conditions is entirely optional, and null may be passed for this structure or any individual field to indicate that
none of the conditions should be set. Please refer to the
Azure Docs
for more information.Modifier and Type | Field and Description |
---|---|
static HTTPAccessConditions |
NONE
An object representing no access conditions.
|
Constructor and Description |
---|
HTTPAccessConditions(OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
ETag ifMatch,
ETag ifNoneMatch)
Creates a
HTTPAccessConditions object. |
Modifier and Type | Method and Description |
---|---|
ETag |
getIfMatch() |
OffsetDateTime |
getIfModifiedSince() |
ETag |
getIfNoneMatch() |
OffsetDateTime |
getIfUnmodifiedSince() |
public static final HTTPAccessConditions NONE
public HTTPAccessConditions(OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, ETag ifMatch, ETag ifNoneMatch)
HTTPAccessConditions
object.ifModifiedSince
- The HTTP If-Modified-Since access condition.ifUnmodifiedSince
- The HTTP If-Unmodified-Since access condition.ifMatch
- An ETag for the HTTP If-Match access condition.ifNoneMatch
- An ETag for the HTTP If-None-Match access condition.public OffsetDateTime getIfModifiedSince()
public OffsetDateTime getIfUnmodifiedSince()
public ETag getIfMatch()
public ETag getIfNoneMatch()
Copyright © 2018. All rights reserved.