Exact

data class Exact(val value: String) : HeaderMatchType

Specifies an exact type match.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

Casts this HeaderMatchType as a Contains and retrieves its kotlin.String value. Throws an exception if the HeaderMatchType is not a Contains.

Link copied to clipboard

Casts this HeaderMatchType as a Contains and retrieves its kotlin.String value. Returns null if the HeaderMatchType is not a Contains.

Link copied to clipboard

Casts this HeaderMatchType as a Exact and retrieves its kotlin.String value. Throws an exception if the HeaderMatchType is not a Exact.

Link copied to clipboard

Casts this HeaderMatchType as a Exact and retrieves its kotlin.String value. Returns null if the HeaderMatchType is not a Exact.

Link copied to clipboard

Casts this HeaderMatchType as a Prefix and retrieves its kotlin.String value. Throws an exception if the HeaderMatchType is not a Prefix.

Link copied to clipboard

Casts this HeaderMatchType as a Prefix and retrieves its kotlin.String value. Returns null if the HeaderMatchType is not a Prefix.