code: function Uri(str) {
      this.uriParts = parseUri(str);
      this.queryPairs = parseQuery(this.uriParts.query);
      this.hasAuthorityPrefixUserPref = null;
    }
docs: Creates a new Uri object
  @constructor
  @param {string} str