concatenateParamsList

open fun <T> concatenateParamsList(initialChar: String, key: String, params: ArrayList<T>): String

Method to concatenate a series of same key param

Return

series of params concatenated as String e.g. param=value1¶m=value2

Parameters

initialChar

: start char of concatenation, can be "" or &

key

: key of param to concatenate e.g. param

params

: values of param to concatenate e.g. value1, value2 as ArrayList

Throws

when one of the params inserted does not respect correct range


fun <T> concatenateParamsList(initialChar: String, key: String, params: Array<T>): String

Method to concatenate a series of same key param

Return

series of params concatenated as String e.g. param=value1¶m=value2

Parameters

initialChar

: start char of concatenation, can be "" or &

key

: key of param to concatenate e.g. param

params

: values of param to concatenate e.g. value1, value2 as Object arrays

Throws

when one of the params inserted does not respect correct range