- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for exploration (0.21 sec)
-
okhttp/src/main/kotlin/okhttp3/Response.kt
* value that may be consumed only once and then closed. All other properties are immutable. * * This class implements [Closeable]. Closing it simply closes its response body. See * [ResponseBody] for an explanation and examples. */ class Response internal constructor( /** * The request that initiated this HTTP response. This is not necessarily the same request issued * by the application: *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 15.5K bytes - Viewed (0) -
docs/features/caching.md
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 3.1K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
package name from `com.squareup.okhttp` to `okhttp3`. This should make it possible for large applications to migrate incrementally. The Maven group ID is now `com.squareup.okhttp3`. For an explanation of this strategy, see Jake Wharton's post, [Java Interoperability Policy for Major Version Updates][major_versions]. This release obsoletes OkHttp 2.x, and all code that uses OkHttp's
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt
/** The last modified date of the cached response, if known. */ private var lastModified: Date? = null private var lastModifiedString: String? = null /** * The expiration date of the cached response, if known. If both this field and the max age are * set, the max age is preferred. */ private var expires: Date? = null /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 12K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
val response = get(server.url("/")) assertThat(response.body.string()).isEqualTo("A") assertThat(response.header("Warning")).isEqualTo( "113 HttpURLConnection \"Heuristic expiration\"", ) } @Test fun noDefaultExpirationForUrlsWithQueryString() { server.enqueue( MockResponse.Builder() .addHeader("Last-Modified: " + formatDate(-105, TimeUnit.SECONDS))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0)