Class QueryStringDecoder


  • public class QueryStringDecoder
    extends java.lang.Object
    Provides functionality to parse query strings.
    Author:
    Javier Rojas Blum Date: 09.29.2011
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​java.lang.String> decode​(java.lang.String queryString)
      Decodes a query string and returns a map with the parsed query string parameters as keys and its values.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • decode

        public static java.util.Map<java.lang.String,​java.lang.String> decode​(java.lang.String queryString)
        Decodes a query string and returns a map with the parsed query string parameters as keys and its values.
        Parameters:
        queryString - The query string.
        Returns:
        A map with the parsed query string parameters and its values.