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