class HttpEntityTagCondition
source · line 8public
public class HttpEntityTagCondition private constructor(
/**
* Whether this condition matches any current representation.
*/
public val isWildcard: Boolean,
/**
* The explicitly listed tags when the condition is not a wildcard.
*/
public val tags: Array<HttpEntityTag>,
/**
* The original parsed field-value bytes, or None for a programmatically constructed value.
*/
public val originalValue: Array<Byte>?
)
A conditional entity-tag list or wildcard for If-Match and If-None-Match.
property isWildcard
source · line 12public
public val isWildcard: Boolean
get: public read-only
Whether this condition matches any current representation.
function toByteArray
source · line 27public
public fun toByteArray(): Array<Byte>
Serializes the structured value into HTTP field-value bytes.
constructor constructor
source · line 22public
constructor(tags: List<HttpEntityTag>)
parameter tags
source · line 22public
tags: List<HttpEntityTag>
property originalValue
source · line 20public
public val originalValue: Array<Byte>?
get: public read-only
The original parsed field-value bytes, or None for a programmatically constructed value.
property tags
source · line 16public
public val tags: Array<HttpEntityTag>
get: public read-only
The explicitly listed tags when the condition is not a wildcard.
function toIfNoneMatchField
source · line 45public
public fun toIfNoneMatchField(): HttpField
Builds an If-None-Match request field.
function toIfMatchField
source · line 41public
public fun toIfMatchField(): HttpField
Builds an If-Match request field.