Home
last modified time | relevance | path

Searched refs:SetResponseCode (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/foundation/communication/netstack/test/unittest/http/cache/
H A DHttpCacheStrategyTest.cpp47 response.SetResponseCode(200);
66 response.SetResponseCode(200);
87 response.SetResponseCode(200);
106 response.SetResponseCode(200);
125 response.SetResponseCode(303);
144 response.SetResponseCode(200);
163 response.SetResponseCode(200);
183 response.SetResponseCode(200);
203 response.SetResponseCode(200);
222 response.SetResponseCode(200);
[all …]
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/verifier/
H A Dverify_task_test.cpp169 response.SetResponseCode(OHOS::NetStack::HttpClient::ResponseCode::OK);
192 response.SetResponseCode(OHOS::NetStack::HttpClient::ResponseCode::OK);
291 response.SetResponseCode(OHOS::NetStack::HttpClient::ResponseCode::OK);
316 response.SetResponseCode(OHOS::NetStack::HttpClient::ResponseCode::OK);
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/fetch/options/include/
H A Dfetch_response.h33 void SetResponseCode(uint32_t responseCode);
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/fetch/options/src/
H A Dfetch_response.cpp35 void FetchResponse::SetResponseCode(uint32_t responseCode) in SetResponseCode() function in OHOS::NetStack::Fetch::FetchResponse
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/include/
H A Dnet_http_response.h36 void SetResponseCode(uint32_t responseCode);
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/options/include/
H A Dhttp_response.h36 void SetResponseCode(uint32_t responseCode);
/ohos5.0/foundation/communication/netstack/frameworks/native/http/http_client/
H A Dhttp_client_response.cpp29 void HttpClientResponse::SetResponseCode(ResponseCode code) in SetResponseCode() function in OHOS::NetStack::HttpClient::HttpClientResponse
H A Dhttp_client_task.cpp557 response_.SetResponseCode(resultCode); in ProcessResponseCode()
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/http_client/include/
H A Dhttp_client_response.h119 void SetResponseCode(ResponseCode code);
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_response.cpp35 void HttpResponse::SetResponseCode(uint32_t responseCode) in SetResponseCode() function in OHOS::NetStack::Http::HttpResponse
H A Dnet_http_cache_proxy.cpp72 cachedResponse.SetResponseCode(static_cast<uint32_t>(ResponseCode::OK)); in ReadResponseFromCache()
H A Dnet_http_client_exec.cpp183 context->response.SetResponseCode(responseCode); in GetCurlDataFromHandle()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/options/src/
H A Dhttp_response.cpp34 void HttpResponse::SetResponseCode(uint32_t responseCode) in SetResponseCode() function in OHOS::NetStack::Http::HttpResponse
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_proxy/src/
H A Dcache_proxy.cpp79 cachedResponse.SetResponseCode(static_cast<uint32_t>(ResponseCode::OK)); in ReadResponseFromCache()
/ohos5.0/foundation/communication/netstack/test/unittest/http_client/
H A DHttpClientResponseTest.cpp105 req.SetResponseCode(ResponseCode::MULT_CHOICE);
H A DHttpClientTaskTest.cpp648 task->response_.SetResponseCode(ResponseCode::NOT_MODIFIED);
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/fetch/fetch_exec/src/
H A Dfetch_exec.cpp100 context->response.SetResponseCode(responseCode); in ExecFetch()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/
H A Dhttp_exec.cpp308 context->response.SetResponseCode(responseCode); in AddCurlHandle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_web.cpp1085 …s<JSWebResourceResponse>::CustomMethod("setResponseCode", &JSWebResourceResponse::SetResponseCode); in JSBind()
1234 void SetResponseCode(const JSCallbackInfo& args) in SetResponseCode() function in OHOS::Ace::Framework::JSWebResourceResponse