getQueryParameter

Searches the query string for the first value with the given key.

Warning: Prior to Jelly Bean, this decoded the '+' character as '+' rather than ' '.

Return

the decoded value or null if no parameter is found

Parameters

key

which will be encoded

Throws

if this isn't a hierarchical URI

if key is null