Lines Matching defs:url

621     WVLOG_D("The parsed url is: ***");
630 WVLOG_E("Unable to parse url object.");
635 WVLOG_D("The parsed url is: ***");
649 WVLOG_E("Unable to parse string from url object.");
654 WVLOG_E("The type parsed from url object is not RAWFILE.");
657 WVLOG_E("Unable to parse type from url object.");
668 WVLOG_E("Unable to parse parameter array from url object.");
714 ErrCode WebviewController::PostUrl(std::string& url, std::vector<char>& postData)
720 return nweb_ptr->PostUrl(url, postData);
723 ErrCode WebviewController::LoadUrl(std::string url)
729 return nweb_ptr->Load(url);
732 ErrCode WebviewController::LoadUrl(std::string url, std::map<std::string, std::string> httpHeaders)
738 return nweb_ptr->Load(url, httpHeaders);
1098 std::string url = "";
1101 url = nweb_ptr->GetUrl();
1103 return url;
1108 std::string url = "";
1111 url = nweb_ptr->GetOriginalUrl();
1113 return url;
1344 ErrCode WebviewController::PrefetchPage(std::string& url, std::map<std::string, std::string> additionalHttpHeaders)
1351 nweb_ptr->PrefetchPage(url, additionalHttpHeaders);
1633 const std::string &url, const std::string &script, std::shared_ptr<CacheOptions> cacheOptions)
1664 nweb_ptr->PrecompileJavaScript(url, script, cacheOptions, callbackImpl);
1710 for (auto url : urlList) {
1711 if (!CheckURL(url)) {
1719 bool WebviewController::CheckURL(std::string& url) const
1721 if (url.size() > URL_MAXIMUM) {
1722 WVLOG_E("The URL exceeds the maximum length of %{public}d. URL: %{private}s", URL_MAXIMUM, url.c_str());
1726 if (!regex_match(url, std::regex("^http(s)?:\\/\\/.+", std::regex_constants::icase))) {
1727 WVLOG_E("The Parse URL error. URL: %{private}s", url.c_str());