Class URLRedirect
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.
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