private IList <NameValuePair> ParseQuery(string query, Encoding charset) { if (query != null && query.Length > 0) { return(URLEncodedUtils.Parse(query, charset)); } return(null); }
private string EncodeUric(string fragment) { return(URLEncodedUtils.EncUric(fragment, Consts.Utf8)); }
private string EncodePath(string path) { return(URLEncodedUtils.EncPath(path, Consts.Utf8)); }
private string EncodeUrlForm(IList <NameValuePair> @params) { return(URLEncodedUtils.Format(@params, Consts.Utf8)); }
private string EncodeUserInfo(string userInfo) { return(URLEncodedUtils.EncUserInfo(userInfo, Consts.Utf8)); }