HttpRouteRuleMatch class
HttpRouteRuleMatch specifies a set of criteria for matching requests to an HttpRouteRule.
All specified criteria must be satisfied for a match to occur.
Constructors
-
HttpRouteRuleMatch({String? fullPathMatch, List<
HttpHeaderMatch> ? headerMatches, bool? ignoreCase, List<MetadataFilter> ? metadataFilters, String? pathTemplateMatch, String? prefixMatch, List<HttpQueryParameterMatch> ? queryParameterMatches, String? regexMatch}) - HttpRouteRuleMatch.fromJson(Map json_)
Properties
- fullPathMatch ↔ String?
-
For satisfying the matchRule condition, the path of the request must
exactly match the value specified in fullPathMatch after removing any
query parameters and anchor that may be part of the original URL.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headerMatches
↔ List<
HttpHeaderMatch> ? -
Specifies a list of header match criteria, all of which must match
corresponding headers in the request.
getter/setter pair
- ignoreCase ↔ bool?
-
Specifies that prefixMatch and fullPathMatch matches are case sensitive.
getter/setter pair
-
metadataFilters
↔ List<
MetadataFilter> ? -
Opaque filter criteria used by the load balancer to restrict routing
configuration to a limited set of xDS compliant clients.
getter/setter pair
- pathTemplateMatch ↔ String?
-
If specified, the route is a pattern match expression that must match the
:path header once the query string is removed.
getter/setter pair
- prefixMatch ↔ String?
-
For satisfying the matchRule condition, the request's path must begin with
the specified prefixMatch.
getter/setter pair
-
queryParameterMatches
↔ List<
HttpQueryParameterMatch> ? -
Specifies a list of query parameter match criteria, all of which must
match corresponding query parameters in the request.
getter/setter pair
- regexMatch ↔ String?
-
For satisfying the matchRule condition, the path of the request must
satisfy the regular expression specified in regexMatch after removing any
query parameters and anchor supplied with the original URL.
getter/setter pair
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited