code: private void makeGenerators(Task task) {
          if (this.cookieGenerator != null) {
              if (!(this.cookieGenerator instanceof NoCookieGenerator)) {
                  this.setCookie(this.cookieGenerator.get(task));
              }
          }
          if (this.headerGenerator != null) {
              if (!(this.headerGenerator instanceof NoHeaderGenerator)) {
                  Map headers = this.headerGenerator.get(task);
                  this.setHttpHeader(headers);
              }
          }
      }
docs: 如果配置了生成器，则在请求之前调用生成器
  @param task