设置请求头<br>
当请求头存在时，覆盖之

@param header 头名
@param value 头值
@param isOverride 是否覆盖旧值
@return HttpConnection
774397
public HttpConnection header(Header header, String value, boolean isOverride) {
		return header(header.toString(), value, isOverride);
	}
280590
public Request addHeader(String name, String value) {
    Objects.requireNonNull(headerMap).put(name, value);
    return this;
  }
797136
public MarketplaceWebServiceOrdersConfig withRequestHeader(String name, String value) {
        cc.includeRequestHeader(name, value);
        return this;
    }
1001646
public HttpRequestBuilder addHeader(String name, String value) {
    if (value != null) {
      reqHeaders.put(name, value);
    }
    return this;
  }
331340
public HttpRequestBuilder addHeader(String name, String value) {
    reqHeaders.put(name, value);
    entry.withRequestHeader(name, value);
    return this;
  }
335077
public void setHeader(String name, String value) {
	headers = ReqRspUtil.set(headers, name, value);
    }
450866
@Override
    public void setHeader(String hdr, String value) {
        if (null == value) {
            if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                Tr.debug(tc, "setHeader(" + hdr + ", null), removing header");
            }
            this.response.removeHeader(hdr);
        } else {
            this.response.setHeader(hdr, value);
        }
    }
782504
public RestRequest<T> addHeader(String name, String value) {
        headers.put(name, value);
        return this;
    }
555519
public void setHeader(String name, String value) {
        httpRequest.headers().set(name, value);
    }
184406
public B setHttpHeader(CharSequence name, Object value) {
        requireNonNull(name, "name");
        requireNonNull(value, "value");
        httpHeaders.setObject(HttpHeaderNames.of(name), value);
        return self();
    }
1167807
public HttpFileServiceBuilder addHeader(CharSequence name, Object value) {
        requireNonNull(name, "name");
        requireNonNull(value, "value");
        getOrCreateHeaders().addObject(HttpHeaderNames.of(name), value);
        return this;
    }
172412
public T header(String name, String value) {
        Collection<String> l = headers.get(name);
        if (l == null) {
            l = new ArrayList<String>();
        }
        l.add(value);
        headers.put(name, l);
        return derived.cast(this);
    }
1162893
public RequestBuilder<T,ID> addHeader(String name,String value)
    {
        headers.add(name, value);
        return this;
    }
1353035
protected void header(String name, Object value){
        if(value == null) throw new NullPointerException("value cannot be null");

        header(name, value.toString());
    }
219697
public Request setHeader(String name, String value) {
        this.headers.put(name, value);
        return this;
    }
396651
public static Header of(String name, String value) {
        return new Header(requireNonNull(name), requireNonNull(value));
    }
536029
public static ClientAddressSource ofHeader(CharSequence header) {
        checkArgument(header != null && header.length() > 0, "empty header");
        return new ClientAddressSource(HttpHeaderNames.of(header));
    }