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

    setURI(httpConfig.toURI());
  }
Ejemplo n.º 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;
  }