docs: public void setAllowedHeaders(java.util.Collection<String> allowedHeaders) {
          if (allowedHeaders == null) {
              this.allowedHeaders = null;
              return;
          }
  
          this.allowedHeaders = new java.util.ArrayList<String>(allowedHeaders);
      }