Add a parameter to the request. Adds this value to any existing values for this name.
@param name The name of the parameter
@param value The value
@return The request builder
345578
public RequestBuilder<T,ID> addParameter(String name,String value)
    {
        parameters.add(name, value);
        return this;
    }
33151
public HttpClientMockBuilder withParameter(String name, String value) {
        return withParameter(name, equalTo(value));
    }
1167807
public HttpFileServiceBuilder addHeader(CharSequence name, Object value) {
        requireNonNull(name, "name");
        requireNonNull(value, "value");
        getOrCreateHeaders().addObject(HttpHeaderNames.of(name), value);
        return this;
    }
796094
public UrlStringBuilder addParameter(String name, String... values) {
        this.addParameter(name, values != null ? Arrays.asList(values) : null);
        return this;
    }
972103
public HttpHubConnectionBuilder withHeader(String name, String value) {
        if (headers == null) {
            this.headers = new HashMap<>();
        }
        this.headers.put(name, value);
        return this;
    }
1007007
public RestRequestBuilder<B, R> addQueryParam( String name, Collection<?> values ) {
        if ( null != values ) {
            List<Object> allValues = getQueryParams( name );
            allValues.addAll( values );
        }
        return this;
    }
48901
private void putParameter(String name, String value) {
		String[] params = requestParameters.get(name);
		params = params == null ? new String[] { value } : ArrayUtil.append(params, value);
		requestParameters.put(name, params);
	}
331340
public HttpRequestBuilder addHeader(String name, String value) {
    reqHeaders.put(name, value);
    entry.withRequestHeader(name, value);
    return this;
  }
529534
public DatabaseConnectionRequest<T, U> addHeader(String name, String value) {
        request.addHeader(name, value);
        return this;
    }
1089570
public URIBuilder queryParam(String name, String value) {
		parameters.add(name, value);
		return this;
	}
412154
public void addParam(String name, String value) {
        getParams().add(new BasicNameValuePair(name, value));
    }
81396
public void addParamHeader(String name, String value) {
        addParam(name, value, NameValuePair.TYPE_HEADER);
    }
692581
public HeaderParams put(String name, String value) {
        values.put(cleanAndValidate(name), cleanAndValidate(value));
        return this;
    }
1162893
public RequestBuilder<T,ID> addHeader(String name,String value)
    {
        headers.add(name, value);
        return this;
    }
190282
public Options param(String name, String value) {
		options.put(name, value);
		return this;
	}
1088998
public static void addParameter(IUrlBuilder urlBuilder, String name, String value) {
        urlBuilder.addParameter(name, value);
    }
705464
@SuppressWarnings("unchecked")
  public Request addParameter(String name, Object value) {
    Map<String, Object> map = Objects.requireNonNull(parameterMap);
    if (!map.containsKey(name)) {
      map.put(name, value);
    } else {
      Object value0 = map.get(name);
      if (value0 instanceof Collection) {
        if (value instanceof Collection) {
          ((Collection) value0).addAll((Collection) value);
        } else {
          ((Collection) value0).add(value);
        }
      } else {
        List<Object> paramArray = new LinkedList<>();
        if (value instanceof Collection) {
          paramArray.addAll((Collection) value);
        } else {
          paramArray.add(value);
        }
        map.put(name, paramArray);
      }
    }
    return this;
  }