Class URLRedirect
Represents a URLRedirect in Commerce Cloud Digital.
| Property | Description |
|---|---|
location: String (read-only) | Returns the URL which was calculated to be the redirect URL. |
status: Number (read-only) | Returns the corresponding status code for the redirect location. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getLocation() | Returns the URL which was calculated to be the redirect URL. |
| getStatus() | Returns the corresponding status code for the redirect location. |
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
- location: String
(read-only) Returns 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) Returns the corresponding status code for the redirect location.
- 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(): Number
Returns the corresponding status code for the redirect location.
Returns:
- status code