RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatch class

Constructors

RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatch({Input<String?>? exactMatch, required Input<String> headerName, Input<bool?>? invertMatch, Input<String?>? prefixMatch, Input<bool?>? presentMatch, Input<RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchRangeMatch?>? rangeMatch, Input<String?>? regexMatch, Input<String?>? suffixMatch})
Creates a new RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatch. exactMatch The value should exactly match contents of exactMatch. Only one of exactMatch, headerName The name of the HTTP header to match. For matching against the HTTP request's invertMatch If set to false, the headerMatch is considered a match if the match criteria prefixMatch The value of the header must start with the contents of prefixMatch. Only one of presentMatch A header with the contents of headerName must exist. The match takes place rangeMatch The header value must be an integer and its value must be in the range specified regexMatch The value of the header must match the regular expression specified in suffixMatch The value of the header must end with the contents of suffixMatch. Only one of
const
RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatch.fromMap(Map<String, dynamic> map)
factory

Properties

exactMatch → Input<String?>?
The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
final
hashCode → int
The hash code for this object.
no setterinherited
headerName → Input<String>
The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method".
final
invertMatch → Input<bool?>?
If set to false, the headerMatch is considered a match if the match criteria above are met. If set to true, the headerMatch is considered a match if the match criteria above are NOT met. Defaults to false.
final
prefixMatch → Input<String?>?
The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
final
presentMatch → Input<bool?>?
A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value or not. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
final
rangeMatch → Input<RegionUrlMapPathMatcherRouteRuleMatchRuleHeaderMatchRangeMatch?>?
The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range -5, 0
final
regexMatch → Input<String?>?
The value of the header must match the regular expression specified in regexMatch. For regular expression grammar, please see: en.cppreference.com/w/cpp/regex/ecmascript For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
suffixMatch → Input<String?>?
The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited