Uses of Class
java.net.CacheResponse
| Package | Description |
|---|---|
| com.squareup.okhttp | |
| com.squareup.okhttp.internal.http | |
| java.net |
-
Uses of CacheResponse in com.squareup.okhttp
Methods in com.squareup.okhttp that return CacheResponse Modifier and Type Method Description CacheResponseHttpResponseCache. get(URI uri, String requestMethod, Map<String,List<String>> requestHeaders)CacheResponseOkResponseCache. get(URI uri, String requestMethod, Map<String,List<String>> requestHeaders)Methods in com.squareup.okhttp with parameters of type CacheResponse Modifier and Type Method Description voidOkResponseCache. update(CacheResponse conditionalCacheHit, HttpURLConnection connection)Handles a conditional request hit by updating the stored cache response with the headers fromhttpConnection. -
Uses of CacheResponse in com.squareup.okhttp.internal.http
Methods in com.squareup.okhttp.internal.http that return CacheResponse Modifier and Type Method Description CacheResponseOkResponseCacheAdapter. get(URI uri, String requestMethod, Map<String,List<String>> requestHeaders)CacheResponseHttpEngine. getCacheResponse()Methods in com.squareup.okhttp.internal.http with parameters of type CacheResponse Modifier and Type Method Description protected booleanHttpEngine. acceptCacheResponseType(CacheResponse cacheResponse)Returns true ifcacheResponseis of the right type.protected booleanHttpsEngine. acceptCacheResponseType(CacheResponse cacheResponse)voidOkResponseCacheAdapter. update(CacheResponse conditionalCacheHit, HttpURLConnection connection) -
Uses of CacheResponse in java.net
Subclasses of CacheResponse in java.net Modifier and Type Class Description classSecureCacheResponseA secure cache response represents data which is originally retrieved over a secure connection.Methods in java.net that return CacheResponse Modifier and Type Method Description abstract CacheResponseResponseCache. get(URI uri, String requestMethod, Map<String,List<String>> requestHeaders)Returns the cached response corresponding to the given request.