HttpRouteRouteMatchResponse class
RouteMatch defines specifications used to match requests. If multiple match types are set, this RouteMatch will match if ALL type of matches are matched.
Constructors
-
HttpRouteRouteMatchResponse({required Input<
String> fullPathMatch, required Input<List< headers, required Input<HttpRouteHeaderMatchResponse> >bool> ignoreCase, required Input<String> prefixMatch, required Input<List< queryParameters, required Input<HttpRouteQueryParameterMatchResponse> >String> regexMatch}) -
Creates a new HttpRouteRouteMatchResponse.
fullPathMatchThe HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.headersSpecifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.ignoreCaseSpecifies if prefix_match and full_path_match matches are case sensitive. The default value is false.prefixMatchThe 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.queryParametersSpecifies a list of query parameters to match against. ALL of the query parameters must be matched.regexMatchThe 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.const -
HttpRouteRouteMatchResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
fullPathMatch
→ Input<
String> -
The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Input<
List< HttpRouteHeaderMatchResponse> > -
Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
final
-
ignoreCase
→ Input<
bool> -
Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
final
-
prefixMatch
→ Input<
String> -
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.
final
-
queryParameters
→ Input<
List< HttpRouteQueryParameterMatchResponse> > -
Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
final
-
regexMatch
→ Input<
String> -
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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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