RuleCondition

Conditions bag for a routing rule. All non-null fields must match (AND logic). At least one field must be set (enforced by CP).

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Exact host match — RFC 3986 unreserved characters

Link copied to clipboard

Wildcard host pattern (e.g., *.example.com) — RFC 3986 unreserved plus *

Link copied to clipboard

Exact path match — must start with /; RFC 3986 unreserved plus /

Link copied to clipboard

Path prefix matching — strict starts-with, no wildcard (preferred for new rules). Must start with /; RFC 3986 unreserved plus /

Link copied to clipboard

Query string key=value pair match (single pair)

Link copied to clipboard

Query string key presence check (any value accepted) — RFC 3986 unreserved characters

Functions

Link copied to clipboard
inline fun copy(block: RuleCondition.Builder.() -> Unit = {}): RuleCondition
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String