HttpRouteURLRewriteResponse class
The specification for modifying the URL of the request, prior to forwarding the request to the destination.
Constructors
-
HttpRouteURLRewriteResponse({required Input<
String> hostRewrite, required Input<String> pathPrefixRewrite}) -
Creates a new HttpRouteURLRewriteResponse.
hostRewritePrior to forwarding the request to the selected destination, the requests host header is replaced by this value.pathPrefixRewritePrior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.const -
HttpRouteURLRewriteResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hostRewrite
→ Input<
String> -
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
final
-
pathPrefixRewrite
→ Input<
String> -
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited