- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 43 for Pound (0.15 sec)
-
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
fun assertLogEqual(expected: String) = apply { assertThat(index, "No more messages found") .isLessThan(logs.size) assertThat(logs[index++]).isEqualTo(expected) return this } fun assertLogMatch(regex: Regex) = apply { assertThat(index, "No more messages found") .isLessThan(logs.size) assertThat(logs[index++])
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 37.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt
namesAndValues.removeAt(i) // value i -= 2 } i += 2 } } /** * Set a field with the specified value. If the field is not found, it is added. If the field is * found, the existing values are replaced. */ internal fun Headers.Builder.commonSet( name: String, value: String, ) = apply { headersCheckName(name) headersCheckValue(value, name)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/guide/PostExample.java
return response.body().string(); } } String bowlingJson(String player1, String player2) { return "{'winCondition':'HIGH_SCORE'," + "'name':'Bowling'," + "'round':4," + "'lastSaved':1367702411696," + "'dateStarted':1367702378785," + "'players':[" + "{'name':'" + player1 + "','history':[10,8,6,7,8],'color':-13388315,'total':39},"
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
fun notFound() { webServer.enqueue( MockResponse.Builder() .status("HTTP/1.1 404 Not Found") .build(), ) newWebSocket() clientListener.assertFailure( 404, null, ProtocolException::class.java, "Expected HTTP 101 response but was '404 Not Found'", ) } @Test fun clientTimeoutClosesBody() { webServer.enqueue(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 35.2K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt
// UTF-16LE. "fffe".decodeHex(), // UTF-32BE. "0000ffff".decodeHex(), // UTF-32LE. "ffff0000".decodeHex(), ) /** * Returns an array containing only elements found in this array and also in [other]. The returned * elements are in the same order as in this. */ internal fun Array<String>.intersect( other: Array<String>, comparator: Comparator<in String>, ): Array<String> {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11K bytes - Viewed (0) -
docs/features/calls.md
## [Responses](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-response/) The response answers the request with a code (like 200 for success or 404 for not found), headers, and its own optional body. ## Rewriting Requests
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 3.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MultipartReader.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.1K bytes - Viewed (0) -
docs/changelogs/changelog_1x.md
## Version 1.0.2 _2013-05-11_ * Fix: Remove use of Java 6-only APIs. * Fix: Properly handle exceptions from `NetworkInterface` when querying MTU. * Fix: Ensure MTU has a reasonable default and upper-bound. ## Version 1.0.1 _2013-05-06_ * Correct casing of SSL in method names (`getSslSocketFactory`/`setSslSocketFactory`). ## Version 1.0.0 _2013-05-06_
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 6.4K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
Nullability was previously ambiguous and lenient but now the compiler will enforce strict null checks. * New: The response message is now non-null. This is the "Not Found" in the status line "HTTP 404 Not Found". If you are building responses programmatically (with `new Response.Builder()`) you must now always supply a message. An empty string `""` is permitted. This value was never null on
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/HttpUrl.kt
} else { val truncated = if (input.length > 6) input.take(6) + "..." else input throw IllegalArgumentException( "Expected URL scheme 'http' or 'https' but no scheme was found for $truncated", ) } // Authority. var hasUsername = false var hasPassword = false val slashCount = input.slashCount(pos, limit)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1)