Home
last modified time | relevance | path

Searched refs:cacheResponse (Results 1 – 2 of 2) sorted by relevance

/external/okhttp/src/main/java/libcore/net/http/
DHttpsURLConnectionImpl.java67 SecureCacheResponse cacheResponse = delegate.getCacheResponse(); in getCipherSuite() local
68 if (cacheResponse != null) { in getCipherSuite()
69 return cacheResponse.getCipherSuite(); in getCipherSuite()
77 SecureCacheResponse cacheResponse = delegate.getCacheResponse(); in getLocalCertificates() local
78 if (cacheResponse != null) { in getLocalCertificates()
79 List<Certificate> result = cacheResponse.getLocalCertificateChain(); in getLocalCertificates()
88 SecureCacheResponse cacheResponse = delegate.getCacheResponse(); in getServerCertificates() local
89 if (cacheResponse != null) { in getServerCertificates()
90 List<Certificate> result = cacheResponse.getServerCertificateChain(); in getServerCertificates()
99 SecureCacheResponse cacheResponse = delegate.getCacheResponse(); in getPeerPrincipal() local
[all …]
DHttpEngine.java107 private CacheResponse cacheResponse; field in HttpEngine
198 this.cacheResponse = BAD_GATEWAY_RESPONSE; in sendRequest()
199 RawHeaders rawResponseHeaders = RawHeaders.fromMultimap(cacheResponse.getHeaders()); in sendRequest()
200 setResponse(new ResponseHeaders(uri, rawResponseHeaders), cacheResponse.getBody()); in sendRequest()
241 this.cacheResponse = candidate; in initResponseSource()
244 this.cacheResponse = candidate; in initResponseSource()
350 return cacheResponse; in getCacheResponse()
366 protected boolean acceptCacheResponseType(CacheResponse cacheResponse) { in acceptCacheResponseType() argument
626 httpResponseCache.update(cacheResponse, getHttpConnectionToCache()); in readResponse()