dw.web
Class URLParameter
dw.web.URLParameter
This class represents a key-value-pair for URL parameters.
Constructor Summary
URLParameter(aName
:
String, aValue
:
String)
Constructs the parameter using the specified name and value and endocded in the form "name=value".
URLParameter(aName
:
String, aValue
:
String, encodeName
:
boolean)
Constructs the parameter using the specified name and value.
Method Summary
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
Constructor Detail
URLParameter
Constructs the parameter using the specified name and value and endocded
in the form "name=value".
Parameters:
aName
-
the name
aValue
-
the value
URLParameter
Constructs the parameter using the specified name and value. If the "encodeName" is set to true,
the parameter is encoded in the form "name=value". Otherwise, it only
contains the "value" (needed for URL patterns).
Parameters:
aName
-
the name
aValue
-
the value
encodeName
-
if true, the name will be part of the string form