HttpRouteRouteAction class

The specifications for routing traffic and applying associated policies.

Constructors

HttpRouteRouteAction({HttpRouteCorsPolicy? corsPolicy, List<HttpRouteDestination>? destinations, HttpRouteHttpDirectResponse? directResponse, HttpRouteFaultInjectionPolicy? faultInjectionPolicy, String? idleTimeout, HttpRouteRedirect? redirect, HttpRouteHeaderModifier? requestHeaderModifier, HttpRouteRequestMirrorPolicy? requestMirrorPolicy, HttpRouteHeaderModifier? responseHeaderModifier, HttpRouteRetryPolicy? retryPolicy, HttpRouteStatefulSessionAffinityPolicy? statefulSessionAffinity, String? timeout, HttpRouteURLRewrite? urlRewrite})
HttpRouteRouteAction.fromJson(Map json_)

Properties

corsPolicy HttpRouteCorsPolicy?
The specification for allowing client side cross-origin requests.
getter/setter pair
destinations List<HttpRouteDestination>?
The destination to which traffic should be forwarded.
getter/setter pair
directResponse HttpRouteHttpDirectResponse?
Static HTTP Response object to be returned regardless of the request.
getter/setter pair
faultInjectionPolicy HttpRouteFaultInjectionPolicy?
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
idleTimeout String?
Specifies the idle timeout for the selected route.
getter/setter pair
redirect HttpRouteRedirect?
If set, the request is directed as configured by this field.
getter/setter pair
requestHeaderModifier HttpRouteHeaderModifier?
The specification for modifying the headers of a matching request prior to delivery of the request to the destination.
getter/setter pair
requestMirrorPolicy HttpRouteRequestMirrorPolicy?
Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination.
getter/setter pair
responseHeaderModifier HttpRouteHeaderModifier?
The specification for modifying the headers of a response prior to sending the response back to the client.
getter/setter pair
retryPolicy HttpRouteRetryPolicy?
Specifies the retry policy associated with this route.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statefulSessionAffinity HttpRouteStatefulSessionAffinityPolicy?
Specifies cookie-based stateful session affinity.
getter/setter pair
timeout String?
Specifies the timeout for selected route.
getter/setter pair
urlRewrite HttpRouteURLRewrite?
The specification for rewrite URL before forwarding requests to the destination.
getter/setter pair

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