UrlDispatchRule class

Rules to match an HTTP request and dispatch that request to a service.


UrlDispatchRule.fromJson(Map _json)


domain String
Domain name to match against. The wildcard "" is supported if specified before a period: ".".Defaults to matching all domains: "*".
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
path String
Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.The sum of the lengths of the domain and path may not exceed 100 characters.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
service String
Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(dynamic other) bool
The equality operator. [...]