code: public static String buildParam(String paramName, List<String> paramArgs)
        throws IOException {
      StringBuilder sb = new StringBuilder();
      for (String arg : paramArgs) {
        if (sb.length() > 0) {
          sb.append("&");
        }
        sb.append(paramName).append("=").append(URLEncoder.encode(arg, "UTF-8"));
      }
      return sb.toString();
    }
docs: builds up a String with the parameters for the filtering of fields
  @param paramName
  @param paramArgs
  @return String
  @throws IOException