HttpRouteRouteMatchResponse constructor
- required Input<
String> fullPathMatch, - required Input<
List< headers,HttpRouteHeaderMatchResponse> > - required Input<
bool> ignoreCase, - required Input<
String> prefixMatch, - required Input<
List< queryParameters,HttpRouteQueryParameterMatchResponse> > - required Input<
String> regexMatch,
Creates a new HttpRouteRouteMatchResponse.
fullPathMatch The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
headers Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
ignoreCase Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
prefixMatch The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
queryParameters Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
regexMatch The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
Implementation
const HttpRouteRouteMatchResponse({
required this.fullPathMatch,
required this.headers,
required this.ignoreCase,
required this.prefixMatch,
required this.queryParameters,
required this.regexMatch,
});