code: public Map<String, String[]> getParameterMap()
     {
        Map<String, String[]> map = new TreeMap<String, String[]>();
        for (Map.Entry<String, List<String>> entry : parameters.entrySet())
        {
           List<String> list = entry.getValue();
           String[] values;
           if (list == null)
           {
              values = null;
           }
           else
           {
              values = list.toArray(new String[list.size()]);
           }
           map.put(entry.getKey(), values);
        }
        return map;
     }
docs: Get the name, values[] map representing this query string.