code: private static List<NameValuePair> convert(List<Parameter> params) {
  		List<NameValuePair> pairs = new ArrayList<>(params.size());
  		for (Parameter param : params) {
  			if (param.getValue() != null) {
  				pairs.add(new BasicNameValuePair(param.getName(), param.getValue()));
  			}
  		}
  		return pairs;
  	}
docs: Convert a list of parameters to a list of {@link NameValuePair}.
  
  @param params
  the parameters abstraction used in the library
  @return the parameters used by the real implementation (Apache Commons
  HTTP)