Home
last modified time | relevance | path

Searched refs:responseHeaders (Results 1 - 11 of 11) sorted by relevance

/base/web/webview/ohos_nweb/include/
H A Dnweb_cache_options_impl.h24 NWebCacheOptionsImpl(const std::map<std::string, std::string> &responseHeaders) in NWebCacheOptionsImpl() argument
25 : responseHeaders_(responseHeaders) {} in NWebCacheOptionsImpl()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dwebview_controller.cpp1614 std::map<std::string, std::string> responseHeaders; in ParseCacheOptions() local
1615 auto defaultCacheOptions = std::make_shared<NWebCacheOptionsImpl>(responseHeaders); in ParseCacheOptions()
1618 if (napi_get_named_property(env, value, "responseHeaders", &responseHeadersValue) != napi_ok) { in ParseCacheOptions()
1619 WVLOG_D("PrecompileJavaScript: cannot get 'responseHeaders' of CacheOptions."); in ParseCacheOptions()
1623 if (!ParseResponseHeaders(env, responseHeadersValue, responseHeaders)) { in ParseCacheOptions()
1624 WVLOG_D("PrecompileJavaScript: parse 'responseHeaders' of CacheOptions failed. use default options"); in ParseCacheOptions()
1628 return std::make_shared<NWebCacheOptionsImpl>(responseHeaders); in ParseCacheOptions()
1669 std::map<std::string, std::string> &responseHeaders) const in ParseResponseHeaders()
1698 responseHeaders[keyString] = valueString; in ParseResponseHeaders()
H A Dwebview_controller.h345 std::map<std::string, std::string> &responseHeaders) const;
H A Dnapi_webview_controller.h63 napi_value responseHeaders; member
H A Dnapi_webview_controller.cpp5900 (napi_get_named_property(env, obj, "responseHeaders", &headersObj) != napi_ok) || in AddResourcesToMemoryCache()
5910 resourceValue.responseHeaders = headersObj; in AddResourcesToMemoryCache()
5945 std::map<std::string, std::string> responseHeaders; in AddResourceItemToMemoryCache() local
5946 if (!webviewController->ParseResponseHeaders(env, resourceValue.responseHeaders, responseHeaders)) { in AddResourceItemToMemoryCache()
5947 WVLOG_E("BusinessError: 401. The type of 'responseHeaders' must be Array of 'WebHeader'."); in AddResourceItemToMemoryCache()
5959 webviewController->InjectOfflineResource(urlList, resource, responseHeaders, type); in AddResourceItemToMemoryCache()
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/include/
H A Dark_web_nweb.h1193 const ArkWebUint8Vector& resource, const ArkWebStringMap& responseHeaders, const int type) = 0;
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/
H A Dark_web_nweb_impl.h1034 const ArkWebStringMap& responseHeaders, const int type) override;
H A Dark_web_nweb_impl.cpp939 const ArkWebUint8Vector& resource, const ArkWebStringMap& responseHeaders, const int type) in InjectOfflineResource()
943 ArkWebStringMapStructToClass(responseHeaders), type); in InjectOfflineResource()
938 InjectOfflineResource(const ArkWebString& url, const ArkWebString& origin, const ArkWebUint8Vector& resource, const ArkWebStringMap& responseHeaders, const int type) InjectOfflineResource() argument
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/
H A Dark_web_nweb_wrapper.cpp1077 const std::vector<uint8_t>& resource, const std::map<std::string, std::string>& responseHeaders, const int type) in InjectOfflineResource()
1082 auto responseHeadersMap = ArkWebStringMapClassToStruct(responseHeaders); in InjectOfflineResource()
1076 InjectOfflineResource(const std::string& url, const std::string& origin, const std::vector<uint8_t>& resource, const std::map<std::string, std::string>& responseHeaders, const int type) InjectOfflineResource() argument
H A Dark_web_nweb_wrapper.h1044 const std::map<std::string, std::string>& responseHeaders, const int type) override;
/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb.h1233 const std::vector<uint8_t>& resource, const std::map<std::string, std::string>& responseHeaders,

Completed in 28 milliseconds