code: @Deprecated
      public void setHostConfiguration(final HostConfiguration hostconfig) {
          if (hostconfig != null) {
              this.httphost = new HttpHost(
                      hostconfig.getHost(),
                      hostconfig.getPort(),
                      hostconfig.getProtocol());
          } else {
              this.httphost = null;
          }
      }
docs: Sets the {@link HostConfiguration host configuration}.
  
  @param hostconfig The hostConfiguration to set
  
  @deprecated no longer applicable