HttpRetryPolicy class
The retry policy associates with HttpRouteRule
Constructors
- HttpRetryPolicy()
- HttpRetryPolicy.fromJson(Map _json)
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- numRetries ↔ int
-
Specifies the allowed number retries. This number must be > 0. If not
specified, defaults to 1.
read / write
- perTryTimeout ↔ Duration
-
Specifies a non-zero timeout per retry attempt.
If not specified, will use the timeout set in HttpRouteAction. If timeout
in HttpRouteAction is not set, will use the largest timeout among all
backend services associated with the route.
read / write
-
retryConditions
↔ List<
String> -
Specfies one or more conditions when this retry rule applies. Valid values
are: [...]
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, Object> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited