public final class AccessCondition extends Object
Constructor and Description |
---|
AccessCondition() |
Modifier and Type | Method and Description |
---|---|
String |
condition()
Gets the value of the condition - for AccessConditionType IfMatchs and IfNotMatch, this is the ETag that has to
be compared to.
|
AccessCondition |
condition(String condition)
Sets the value of the condition - for AccessConditionType IfMatchs and IfNotMatch, this is the ETag that has to
be compared to.
|
AccessConditionType |
type()
Gets the condition type.
|
AccessCondition |
type(AccessConditionType type)
Sets the condition type.
|
public AccessConditionType type()
public AccessCondition type(AccessConditionType type)
type
- the condition type to use.public String condition()
public AccessCondition condition(String condition)
condition
- the condition to use.Copyright © 2019. All rights reserved.