code: public UriBuilder queryParam(String param, String value) throws URISyntaxException {
          if (StringUtils.isNotBlank(param) && StringUtils.isNotBlank(value)) {
              return new UriBuilder(addParameter(param, value));
          } else {
              return this;
          }
      }
docs: Wrapper to addParameter()
  
  @param param
  @param value
  @return
  @throws URISyntaxException