Prefix

data class Prefix(val value: String) : HeaderMatchType

Specifies a prefix type match. Matches the value with the prefix.

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.