code: protected void addBasicAuthHeader(HttpHeaders headers, String key){
  		headers.add(HEADER_AUTHORIZATION, buildBasicAuthValue(key));
  	}
docs: Add HTTP Basic Auth header
  @param headers	the headers, it must not be a read-only one, if it is, use {@link #copy(HttpHeaders)} to make a writable copy first
  @param key		the API key