code: public final void setHeaderProperties(Properties headerProperties)
      {
          this.headerProperties=null;
          if(headerProperties!=null)
          {
              this.headerProperties=new Properties();
              this.headerProperties.putAll(headerProperties);
          }
      }
docs: This function sets the header properties.
  
  @param   headerProperties
  The new value for the header properties