dw.web
Class URLRedirect
Object
dw.web.URLRedirect
Represents a URLRedirect in Commerce Cloud Digital.
Properties
location  :  String  (Read Only)
The URL which was calculated to be the redirect URL. The Location parameter can be directly used as value for an redirect location.
status  :  Number  (Read Only)
The corresponding status code for the redirect location.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getLocation() : String
Returns the URL which was calculated to be the redirect URL.
getStatus() : Number
Returns the corresponding status code for the redirect location.
Methods inherited from class Object
Method Detail
getLocation
getLocation() : String
Returns the URL which was calculated to be the redirect URL. The Location parameter can be directly used as value for an redirect location.
Returns:
redirect location

getStatus
getStatus() : Number
Returns the corresponding status code for the redirect location.
Returns:
status code

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.