docs: @Override
      public URI getURI() throws URIException {
          StringBuffer buffer = new StringBuffer();
          if (this.httphost != null) {
              buffer.append(this.httphost.getProtocol().getScheme());
              buffer.append("://");
              buffer.append(this.httphost.getHostName());
              int port = this.httphost.getPort();
              if (port != -1 && port != this.httphost.getProtocol().getDefaultPort()) {
                  buffer.append(":");
                  buffer.append(port);
              }
          }
          buffer.append(this.path);
          if (this.queryString != null) {
              buffer.append('?');
              buffer.append(this.queryString);
          }
          String charset = getParams().getUriCharset();
          return new URI(buffer.toString(), true, charset);
      }