HttpRouteQueryParameterMatchResponse

data class HttpRouteQueryParameterMatchResponse(val exactMatch: String, val presentMatch: Boolean, val queryParameter: String, val regexMatch: String)

Specifications to match a query parameter in the request.

Constructors

Link copied to clipboard
fun HttpRouteQueryParameterMatchResponse(exactMatch: String, presentMatch: Boolean, queryParameter: String, regexMatch: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.

Link copied to clipboard

Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.

Link copied to clipboard

The name of the query parameter to match.

Link copied to clipboard

The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.