docs: public void setUserAgent(String userAgent) {
          _userAgent = userAgent;
          for (RepositoryConnection repoConnection : this) {
              if (repoConnection instanceof RestRepositoryConnection) {
                  ((RestRepositoryConnection) repoConnection).setUserAgent(_userAgent);
              }
          }
      }