Adds a header to the response.

@param name the header name
@param value the header value, {@code null} will clear any existing headers for the same name
@return this builder
@see Response.ResponseBuilder#header(String, Object)
964743
public GenericResponseBuilder<T> header(String name, Object value) {
    rawBuilder.header(name, value);
    return this;
  }
926552
@Override
    public void addHeader(String name, String value) {
        this._getHttpServletResponse().addHeader(name, value);
    }
335077
public void setHeader(String name, String value) {
	headers = ReqRspUtil.set(headers, name, value);
    }
85044
public T header(Header name, String value, boolean isOverride) {
		return header(name.toString(), value, isOverride);
	}
527266
@Override
    public void addIntHeader(String name, int value) {

        addHeader(name, String.valueOf(value));
    }
1214123
public HttpClient addHeader(String name, Object value) {
        if (mHeaders == null) {
            mHeaders = new HttpHeaderMap();
        }
        mHeaders.add(name, value);
        return this;
    }
1189952
public function addHeader(string $name, string $value = null)
    {
        if (!is_null($value)) {
            return $this->set('headers', $name, $value);
        }

        return $this->set('headers', $name, null);
    }
782504
public RestRequest<T> addHeader(String name, String value) {
        headers.put(name, value);
        return this;
    }
389947
public IpcLogEntry addResponseHeader(String name, String value) {
    if (serverAsg == null && name.equalsIgnoreCase(NetflixHeader.ASG.headerName())) {
      withServerAsg(value);
    } else if (serverZone == null && name.equalsIgnoreCase(NetflixHeader.Zone.headerName())) {
      withServerZone(value);
    } else if (serverNode == null && name.equalsIgnoreCase(NetflixHeader.Node.headerName())) {
      withServerNode(value);
    } else if (endpoint == null && name.equalsIgnoreCase(NetflixHeader.Endpoint.headerName())) {
      withEndpoint(value);
    } else {
      this.responseHeaders.add(new Header(name, value));
    }
    return this;
  }
566414
public HttpLogEntry withRequestHeader(String name, String value) {
    requestHeaders.add(new Header(name, value));
    return this;
  }
246817
public void addHeader(String name, String value) {
		if(logger.isDebugEnabled()) {
			logger.debug("addHeader - name=" + name + ", value=" + value);
		}

		checkCommitted();
		addHeaderInternal(name, value, false);
	}
567910
public T header(String name, String value) {
		return header(name, value, true);
	}
1167807
public HttpFileServiceBuilder addHeader(CharSequence name, Object value) {
        requireNonNull(name, "name");
        requireNonNull(value, "value");
        getOrCreateHeaders().addObject(HttpHeaderNames.of(name), value);
        return this;
    }
955670
public FoxHttpRequestBuilder addRequestHeader(String name, String value) {
        foxHttpRequest.getRequestHeader().addHeader(name, value);
        return this;
    }
1277830
public OkRequest<T> header(final String name, final Number value) {
        return header(name, value != null ? value.toString() : null);
    }
212791
public void addHeader(String name, String value) {
        headers.add(name, value);
        List<String> list = caseSensitiveHeaders.get(name);
        if (list == null) {
            list = new ArrayList<String>();
            caseSensitiveHeaders.put(name, list);
        }
        list.add(value);
    }
728508
public function addHeader(string $name, string $value): Response
    {
        $this->headers->add($name, $value);
        return $this;
    }