RuleCondition

The conditions for a routing rule. All specified fields must match for the rule to apply (AND logic). At least one condition field must be set.

Types

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

Properties

Link copied to clipboard

The exact host header value to match.

Link copied to clipboard

A wildcard pattern for host header matching (for example, *.example.com).

Link copied to clipboard

The exact path to match. Must start with /.

Link copied to clipboard

The path prefix to match. The request path must start with this value. Must start with /.

Link copied to clipboard

A query string key-value pair that must be present and match exactly.

Link copied to clipboard

A query string key that must be present in the request (any value is accepted).

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