HttpRouteHeaderMatchResponse class

Specifies how to select a route rule based on HTTP request headers.

Constructors

HttpRouteHeaderMatchResponse({required Input<String> exactMatch, required Input<String> header, required Input<bool> invertMatch, required Input<String> prefixMatch, required Input<bool> presentMatch, required Input<HttpRouteHeaderMatchIntegerRangeResponse> rangeMatch, required Input<String> regexMatch, required Input<String> suffixMatch})
Creates a new HttpRouteHeaderMatchResponse. exactMatch The value of the header should match exactly the content of exact_match. header The name of the HTTP header to match against. invertMatch If specified, the match result will be inverted before checking. Default value is set to false. prefixMatch The value of the header must start with the contents of prefix_match. presentMatch A header with header_name must exist. The match takes place whether or not the header has a value. rangeMatch If specified, the rule will match if the request header value is within the range. regexMatch The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax suffixMatch The value of the header must end with the contents of suffix_match.
const
HttpRouteHeaderMatchResponse.fromMap(Map<String, dynamic> map)
factory

Properties

exactMatch → Input<String>
The value of the header should match exactly the content of exact_match.
final
hashCode → int
The hash code for this object.
no setterinherited
The name of the HTTP header to match against.
final
invertMatch → Input<bool>
If specified, the match result will be inverted before checking. Default value is set to false.
final
prefixMatch → Input<String>
The value of the header must start with the contents of prefix_match.
final
presentMatch → Input<bool>
A header with header_name must exist. The match takes place whether or not the header has a value.
final
rangeMatch → Input<HttpRouteHeaderMatchIntegerRangeResponse>
If specified, the rule will match if the request header value is within the range.
final
regexMatch → Input<String>
The value of the header must match the regular expression specified in regex_match. For regular expression grammar, please see: https://github.com/google/re2/wiki/Syntax
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 suffix_match.
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