public HttpRequest header(final String name,final String value){
  connection.setRequestProperty(name,value);
  return this;
}

public HttpRequest header ( final String name , final String value ) { connection . setRequestProperty ( name , value ) ; return this ; }
set header name to given value
