code: public static QueryString build(final Map<String, String[]> params)
     {
        QueryString queryString = new QueryString();
        queryString.addParameters(params);
        return queryString;
     }
docs: Build a query string from the given map of name=value pairs. For parameters with more than one value, each value
  will be appended using the same name.