private void DigestURI(URI uri) { this.scheme = uri.GetScheme(); this.encodedSchemeSpecificPart = uri.GetRawSchemeSpecificPart(); this.encodedAuthority = uri.GetRawAuthority(); this.host = uri.GetHost(); this.port = uri.GetPort(); this.encodedUserInfo = uri.GetRawUserInfo(); this.userInfo = uri.GetUserInfo(); this.encodedPath = uri.GetRawPath(); this.path = uri.GetPath(); this.encodedQuery = uri.GetRawQuery(); this.queryParams = ParseQuery(uri.GetRawQuery(), Consts.Utf8); this.encodedFragment = uri.GetRawFragment(); this.fragment = uri.GetFragment(); }