docs: public Request request() {
      if (!this.resolved) {
        throw new IllegalStateException("template has not been resolved.");
      }
      return Request.create(this.method, this.url(), this.headers(), this.requestBody());
    }