Package com.atlassian.confluence.util
Class QueryStringUtil
java.lang.Object
com.atlassian.confluence.util.QueryStringUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractParams
(URL link) Deprecated.Deprecated.since 8.7 usetoMap(String, Charset)
Parses the supplied query string and inserts the specified parameters into a map.static String
Deprecated.since 8.7 usetoString(Map, Charset)
static String
-
Constructor Details
-
QueryStringUtil
public QueryStringUtil()
-
-
Method Details
-
toMap
Deprecated.since 8.7 usetoMap(String, Charset)
Parses the supplied query string and inserts the specified parameters into a map. Does not support multi-valued keys in the query string.- Parameters:
queryString
- query string to parse- Returns:
- map of parameters specified in the query string
-
toMap
Parses the supplied query string and inserts the specified parameters into a map. Does not support multi-valued keys in the query string.- Parameters:
queryString
- query string to parse- Returns:
- map of parameters specified in the query string
- Since:
- 8.7
-
extractParams
Deprecated.since 8.7 usetoMap(String, Charset)
Extracts parameters from the query string portion of the supplied URL and inserts these into a map. Does not support multi-valued keys in the query string.- Parameters:
link
- URL to extra parameters from- Returns:
- map of parameters specified in the query string portion of the URL
-
toString
Deprecated.since 8.7 usetoString(Map, Charset)
Returns a query string representation of the supplied parameters.- Parameters:
params
- parameters to include in the query string- Returns:
- query string
-
toString
- Since:
- 8.7
-
toMap(String, Charset)