URLMapDefaultUrlRedirect constructor
const
URLMapDefaultUrlRedirect({})
Creates a new URLMapDefaultUrlRedirect.
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 to
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 prior
Implementation
const URLMapDefaultUrlRedirect({
this.hostRedirect,
this.httpsRedirect,
this.pathRedirect,
this.prefixRedirect,
this.redirectResponseCode,
required this.stripQuery,
});