HttpRouteMatch class
An object representing the requirements for a route to match HTTP requests for a virtual router.
Constructors
- HttpRouteMatch({String? prefix})
-
HttpRouteMatch.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- prefix → String?
-
Specifies the path with which to match requests. This parameter must always
start with
/
, which by itself matches all requests to the virtual router service name. You can also match for path-based routing of requests. For example, if your virtual router service name ismy-service.local
, and you want the route to match requests tomy-service.local/metrics
, then your prefix should be/metrics
.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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited