Class QueryStringDecoder

java.lang.Object
org.gluu.oxauth.util.QueryStringDecoder

public class QueryStringDecoder extends Object
Provides functionality to parse query strings.
Version:
November 24, 2017
Author:
Javier Rojas Blum
  • Constructor Details

    • QueryStringDecoder

      public QueryStringDecoder()
  • Method Details

    • decode

      public static Map<String,String> decode(String queryString)
      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

      public static Map<String,String> decode(String queryString, boolean urlDecode)
      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.