/**
   * Sets the http config.
   *
   * @param httpConfig the instance of HttpConfig
   */
  public void setHttpConfig(HttpConfig httpConfig) {
    this.httpConfig = httpConfig;

    setURI(httpConfig.toURI());
  }
  /**
   * Constructs with the specified initial http config.
   *
   * @param httpConfig the instance of HttpConfig
   */
  public ClientRequestGet(HttpConfig httpConfig) {
    super(httpConfig.toURI());

    this.httpConfig = httpConfig;
  }