HttpRouteRuleMatchQueryParameter

data class HttpRouteRuleMatchQueryParameter(val exactMatch: String? = null, val presentMatch: Boolean? = null, val queryParameter: String? = null, val regexMatch: String? = null)

Constructors

Link copied to clipboard
constructor(exactMatch: String? = null, presentMatch: Boolean? = null, queryParameter: String? = null, regexMatch: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val exactMatch: String? = null

The value of the query parameter must exactly match the contents of exactMatch.

Link copied to clipboard
val presentMatch: Boolean? = null

Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not.

Link copied to clipboard
val queryParameter: String? = null

The name of the query parameter to match.

Link copied to clipboard
val regexMatch: String? = null

The value of the query parameter must match the regular expression specified by regexMatch.For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax