Package org.gluu.oxauth.util
Class QueryStringDecoder
java.lang.Object
org.gluu.oxauth.util.QueryStringDecoder
Provides functionality to parse query strings.
- Version:
- November 24, 2017
- Author:
- Javier Rojas Blum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDecodes a query string and returns a map with the parsed query string parameters as keys and its values.Decodes a query string and returns a map with the parsed query string parameters as keys and its values.
-
Constructor Details
-
QueryStringDecoder
public QueryStringDecoder()
-
-
Method Details
-
decode
Decodes a query string and returns a map with the parsed query string parameters as keys and its values. The parameter values are not urldecoded- Parameters:
queryString
- The query string.- Returns:
- A map with the parsed query string parameters and its values.
-
decode
Decodes a query string and returns a map with the parsed query string parameters as keys and its values.- Parameters:
queryString
- The query string.urlDecode
- Boolean indicating if the parameter values should be urldecoded- Returns:
- A map with the parsed query string parameters and its values.
-