HttpRouteFaultInjectionPolicyAbortResponse class
Specification of how client requests are aborted as part of fault injection before being sent to a destination.
Constructors
-
HttpRouteFaultInjectionPolicyAbortResponse({required Input<
int> httpStatus, required Input<int> percentage}) -
Creates a new HttpRouteFaultInjectionPolicyAbortResponse.
httpStatusThe HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.percentageThe percentage of traffic which will be aborted. The value must be between0, 100const -
HttpRouteFaultInjectionPolicyAbortResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
httpStatus
→ Input<
int> -
The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
final
-
percentage
→ Input<
int> -
The percentage of traffic which will be aborted. The value must be between
0, 100final - 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