HttpHeaderMatch class

matchRule criteria for request header matches.

Constructors

HttpHeaderMatch({String? exactMatch, String? headerName, bool? invertMatch, String? prefixMatch, bool? presentMatch, Int64RangeMatch? rangeMatch, String? regexMatch, String? suffixMatch})
HttpHeaderMatch.fromJson(Map json_)

Properties

exactMatch String?
The value should exactly match contents of exactMatch.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headerName String?
The name of the HTTP header to match.
getter/setter pair
invertMatch bool?
If set to false, the headerMatch is considered a match if the preceding match criteria are met.
getter/setter pair
prefixMatch String?
The value of the header must start with the contents of prefixMatch.
getter/setter pair
presentMatch bool?
A header with the contents of headerName must exist.
getter/setter pair
rangeMatch Int64RangeMatch?
The header value must be an integer and its value must be in the range specified in rangeMatch.
getter/setter pair
regexMatch String?
The value of the header must match the regular expression specified in regexMatch.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffixMatch String?
The value of the header must end with the contents of suffixMatch.
getter/setter pair

Methods

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

Operators

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