- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Absent (0.04 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
* * ### Username and Password * * Username and password are either present, or the empty string `""` if absent. This class offers * no mechanism to differentiate empty from absent. Neither of these components are popular in * practice. Typically HTTP applications use other mechanisms for user identification and * authentication. * * ### Host *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
* New: `okhttp-sse` is an early preview of Server-Sent Events (SSE). This feature is incomplete and is only suitable for experimental use. * New: MockWebServer now supports client authentication (mutual TLS). Call `requestClientAuth()` to permit an optional client certificate or `requireClientAuth()` to require one. * New: `RecordedRequest.getHandshake()` returns the HTTPS handshake of a request sent to `MockWebServer`.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
checkNotNull(predicate); while (iterator.hasNext()) { T t = iterator.next(); if (predicate.apply(t)) { return Optional.of(t); } } return Optional.absent(); } /** * Returns the index in {@code iterator} of the first element that satisfies the provided {@code * predicate}, or {@code -1} if the Iterator has no such elements. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 50.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
cache["k1"]!!.use { cache.remove("k1") assertThat(cache.edit("k1")).isNull() } } @ParameterizedTest @ArgumentsSource(FileSystemParamProvider::class) fun `removed entry absent when iterating`(parameters: Pair<FileSystem, Boolean>) { setUp(parameters.first, parameters.second) set("k1", "a", "a") cache["k1"]!!.use { cache.remove("k1")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 75.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
'`'.code, '{'.code, '|'.code, '}'.code, ).test(UrlComponentEncodingTester.Component.HOST) } @Test fun hostIpv6() { // Square braces are absent from host()... assertThat(parse("http://[::1]/").host).isEqualTo("::1") // ... but they're included in toString(). assertThat(parse("http://[::1]/").toString()).isEqualTo("http://[::1]/")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
val response = call.execute() assertThat(response.body.string()).isEqualTo("ABC") assertThat(response.protocol).isEqualTo(protocol) // Confirm a single ping was sent and received, and its reply was sent and received. val logs = testLogHandler.takeAll() assertThat(countFrames(logs, "FINE: >> 0x00000000 8 PING ")) .isEqualTo(1)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 73.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
} /** * Webservers may set the initial window size to zero, which is a special case because it means * that we have to flush headers immediately before any request body can be sent. * https://github.com/square/okhttp/issues/2543 */ @Test fun peerSetsZeroFlowControl() { peer.setClient(true) // Write the mocking script.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 75.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
@get:JvmName("writeTimeoutMillis") val writeTimeoutMillis: Int = builder.writeTimeout /** Web socket and HTTP/2 ping interval (in milliseconds). By default pings are not sent. */ @get:JvmName("pingIntervalMillis") val pingIntervalMillis: Int = builder.pingInterval /** Web socket close timeout (in milliseconds). */ @get:JvmName("webSocketCloseTimeout")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 51.7K bytes - Viewed (0)