public void removeHeader(Header header){
  if (header == null) {
    return;
  }
  headers.remove(header);
}

public void removeHeader ( Header header ) { if ( header == null ) { return ; } headers . remove ( header ) ; }
removes the given header .
