Class URLRedirect
Represents a URLRedirect in Commerce Cloud Digital.
Property Summary
| 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. |
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
| Method | Description |
|---|
| getLocation() | Returns the URL which was calculated to be the redirect URL. |
| getStatus() | Returns the corresponding status code for the redirect location. |
Methods inherited from class Object
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
Property Details
location
- 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
- status: Number
(read-only)
Returns the corresponding status code for the redirect location.
Method Details
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:
getStatus()
- getStatus(): Number
Returns the corresponding status code for the redirect location.
Returns: