HttpRouteHeaderMatchResponse constructor

const HttpRouteHeaderMatchResponse({
  1. required Input<String> exactMatch,
  2. required Input<String> header,
  3. required Input<bool> invertMatch,
  4. required Input<String> prefixMatch,
  5. required Input<bool> presentMatch,
  6. required Input<HttpRouteHeaderMatchIntegerRangeResponse> rangeMatch,
  7. required Input<String> regexMatch,
  8. 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.

Implementation

const HttpRouteHeaderMatchResponse({
  required this.exactMatch,
  required this.header,
  required this.invertMatch,
  required this.prefixMatch,
  required this.presentMatch,
  required this.rangeMatch,
  required this.regexMatch,
  required this.suffixMatch,
});