URLMapPathMatcherRouteRuleUrlRedirect constructor
const
URLMapPathMatcherRouteRuleUrlRedirect({})
Creates a new URLMapPathMatcherRouteRuleUrlRedirect.
hostRedirect The host that will be used in the redirect response instead of the one that was
httpsRedirect If set to true, the URL scheme in the redirected request is set to https. If set
pathRedirect The path that will be used in the redirect response instead of the one that was
prefixRedirect The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch,
redirectResponseCode The HTTP Status code to use for this RedirectAction. Supported values are:
stripQuery If set to true, any accompanying query portion of the original URL is removed
Implementation
const URLMapPathMatcherRouteRuleUrlRedirect({
this.hostRedirect,
this.httpsRedirect,
this.pathRedirect,
this.prefixRedirect,
this.redirectResponseCode,
this.stripQuery,
});