Class URLParameter

This class represents a key-value-pair for URL parameters.

ConstructorDescription
URLParameter(String, String)Constructs the parameter using the specified name and value and endocded in the form "name=value".
URLParameter(String, String, Boolean)Constructs the parameter using the specified name and value.

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

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(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