public class ETagState extends Object
| Constructor and Description |
|---|
ETagState() |
| Modifier and Type | Method and Description |
|---|---|
ETagState |
clear()
Clears the stored values in ETag state
|
String |
ifMatchValueOnDelete()
Specifies the ETag value for If-Match header on delete.
|
String |
ifMatchValueOnUpdate(String currentETagValue)
Specifies the ETag value for If-Match header on update.
|
String |
ifNonMatchValueOnCreate()
Specifies the ETag value for If-None-Match header on create.
|
ETagState |
withExplicitETagCheckOnDelete(String eTagValue)
Specifies the explicit ETag value on delete.
|
ETagState |
withExplicitETagCheckOnUpdate(String eTagValue)
Specifies the explicit ETag value on update.
|
ETagState |
withImplicitETagCheckOnCreateOrUpdate(boolean isInCreateMode)
Specifies if it is in create or update with implicit ETag check.
|
public ETagState withImplicitETagCheckOnCreateOrUpdate(boolean isInCreateMode)
isInCreateMode - The boolean flag to indicate if it is in create mode.public ETagState withExplicitETagCheckOnUpdate(String eTagValue)
eTagValue - The explicit ETag value.public ETagState withExplicitETagCheckOnDelete(String eTagValue)
eTagValue - The explicit ETag value.public ETagState clear()
public String ifMatchValueOnUpdate(String currentETagValue)
currentETagValue - The current ETag value.public String ifMatchValueOnDelete()
public String ifNonMatchValueOnCreate()
Copyright © 2021 Microsoft Corporation. All rights reserved.