code: public UrlBuilder withQuery(String query) {
          if (query == null || query.isEmpty()) {
              this.query.clear();
          } else {
              with(query, UrlTokenizerState.QUERY);
          }
          return this;
      }
docs: Set the query that will be used to build the final URL.
  @param query The query that will be used to build the final URL.
  @return This UrlBuilder so that multiple setters can be chained together.