Class URLParameter
dw.web
Class URLParameter
Object
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
Constructor Detail
URLParameter
public URLParameter(aName : String, aValue : String)
Constructs the parameter using the specified name and value and endocded in the form "name=value".
Parameters:
aName - the name
aValue - the value

URLParameter
public URLParameter(aName : String, aValue : String, encodeName : boolean)
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