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

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

    this.httpConfig = httpConfig;
  }