Home
last modified time | relevance | path

Searched refs:cacheResponse_ (Results 1 - 8 of 8) sorted by relevance

/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_cache_strategy.cpp47 cacheResponse_.ParseCacheResponseHeader(response.GetHeader()); in RunStrategy()
48 cacheResponse_.SetRespCode(static_cast<ResponseCode>(response.GetResponseCode())); in RunStrategy()
49 cacheResponse_.SetResponseTime(response.GetResponseTime()); in RunStrategy()
50 cacheResponse_.SetRequestTime(response.GetRequestTime()); in RunStrategy()
112 int64_t age = std::max<int64_t>(0, cacheResponse_.GetAgeSeconds()); in CacheResponseAgeMillis()
113 int64_t dateTime = std::max<int64_t>(0, cacheResponse_.GetDate()); in CacheResponseAgeMillis()
115 int64_t requestTime = std::max<int64_t>(0, cacheResponse_.GetRequestTime()); in CacheResponseAgeMillis()
116 int64_t responseTime = std::max<int64_t>(0, cacheResponse_.GetResponseTime()); in CacheResponseAgeMillis()
134 int64_t sMaxAge = cacheResponse_.GetSMaxAgeSeconds(); in ComputeFreshnessLifetimeSecondsInternal()
140 int64_t maxAge = cacheResponse_ in ComputeFreshnessLifetimeSecondsInternal()
[all...]
H A Dnet_http_request_context.cpp136 cacheResponse_ = cacheResponse; in SetCacheResponse()
140 response = cacheResponse_; in SetResponseByCache()
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_strategy/src/
H A Dhttp_cache_strategy.cpp50 cacheResponse_.ParseCacheResponseHeader(response.GetHeader()); in RunStrategy()
51 cacheResponse_.SetRespCode(static_cast<ResponseCode>(response.GetResponseCode())); in RunStrategy()
52 cacheResponse_.SetResponseTime(response.GetResponseTime()); in RunStrategy()
53 cacheResponse_.SetRequestTime(response.GetRequestTime()); in RunStrategy()
114 int64_t age = std::max<int64_t>(0, cacheResponse_.GetAgeSeconds()); in CacheResponseAgeMillis()
115 int64_t dateTime = std::max<int64_t>(0, cacheResponse_.GetDate()); in CacheResponseAgeMillis()
117 int64_t requestTime = std::max<int64_t>(0, cacheResponse_.GetRequestTime()); in CacheResponseAgeMillis()
118 int64_t responseTime = std::max<int64_t>(0, cacheResponse_.GetResponseTime()); in CacheResponseAgeMillis()
136 int64_t sMaxAge = cacheResponse_.GetSMaxAgeSeconds(); in ComputeFreshnessLifetimeSecondsInternal()
142 int64_t maxAge = cacheResponse_ in ComputeFreshnessLifetimeSecondsInternal()
[all...]
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_strategy/include/
H A Dhttp_cache_strategy.h64 HttpCacheResponse cacheResponse_; member in OHOS::NetStack::Http::HttpCacheStrategy
/foundation/communication/netstack/frameworks/cj/http/include/
H A Dnet_http_cache_strategy.h63 HttpCacheResponse cacheResponse_; member in OHOS::NetStack::Http::HttpCacheStrategy
H A Dnet_http_request_context.h147 HttpResponse cacheResponse_; member in OHOS::NetStack::Http::RequestContext
/foundation/communication/netstack/frameworks/js/napi/http/async_context/include/
H A Drequest_context.h151 HttpResponse cacheResponse_; member in OHOS::NetStack::Http::final
/foundation/communication/netstack/frameworks/js/napi/http/async_context/src/
H A Drequest_context.cpp494 cacheResponse_ = cacheResponse; in SetCacheResponse()
498 response = cacheResponse_; in SetResponseByCache()

Completed in 5 milliseconds