- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 107 for system (0.14 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt
} } override fun equals(other: Any?): Boolean = other is AndroidCertificateChainCleaner && other.trustManager === this.trustManager override fun hashCode(): Int = System.identityHashCode(trustManager) companion object { @SuppressSignatureCheck fun buildIfSupported(trustManager: X509TrustManager): AndroidCertificateChainCleaner? { val extensions = try {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.7K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt
return Client( userAgent = "OkHttp", version = version, enabled = enabled, ) } fun currentVm(ianaSuites: IanaSuites): Client { return systemDefault( name = System.getProperty("java.vm.name"), version = System.getProperty("java.version"), ianaSuites = ianaSuites, ) } fun conscrypt(ianaSuites: IanaSuites): Client { val version = Conscrypt.version() return systemDefault(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Apr 02 01:44:15 GMT 2024 - 2.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java
@Override public void onMessage(WebSocket webSocket, String text) { System.out.println("MESSAGE: " + text); } @Override public void onMessage(WebSocket webSocket, ByteString bytes) { System.out.println("MESSAGE: " + bytes.hex()); } @Override public void onClosing(WebSocket webSocket, int code, String reason) { webSocket.close(1000, null); System.out.println("CLOSE: " + code + " " + reason); }
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 04 11:40:21 GMT 2024 - 1.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CookieJar.kt
* * As persistence, implementations of this interface must also provide storage of cookies. Simple * implementations may store cookies in memory; sophisticated ones may use the file system or * database to hold accepted cookies. The [cookie storage model][rfc_6265_53] specifies policies for * updating and expiring cookies. * * [rfc_6265_53]: https://tools.ietf.org/html/rfc6265#section-5.3 */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.4K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
private var keySize: Int = 0 init { ecdsa256() } /** * Sets the certificate to be valid in ```[notBefore..notAfter]```. Both endpoints are specified * in the format of [System.currentTimeMillis]. Specify -1L for both values to use the default * interval, 24 hours starting when the certificate is created. */ fun validityInterval( notBefore: Long, notAfter: Long,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 21.6K bytes - Viewed (1) -
android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt
assertThat(response.body.string()).contains("h=cloudflare-dns.com") } } @Test fun getWithDns() { client = client.newBuilder() .dns { Dns.SYSTEM.lookup("sni.cloudflaressl.com") } .build() val request = Request.Builder() .url("https://cloudflare-dns.com/cdn-cgi/trace") .build()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CipherSuiteTest.kt
assertThat(cs.hashCode(), cs.toString()) .isEqualTo(System.identityHashCode(cs)) } @Test fun hashCode_usesIdentityHashCode_regularCase() { // This one's javaName matches the identifier. val cs = CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256 assertThat(cs.hashCode(), cs.toString()) .isEqualTo(System.identityHashCode(cs)) } @Test fun instancesAreInterned() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/platform/Jdk8WithJettyBootPlatformTest.kt
val platform = PlatformRule() @Test fun testBuildsWithJettyBoot() { assumeTrue(System.getProperty("java.specification.version") == "1.8") platform.assumeJettyBootEnabled() assertThat(buildIfSupported()).isNotNull() } @Test fun testNotBuildWithOther() { assumeFalse(System.getProperty("java.specification.version") == "1.8") assertThat(buildIfSupported()).isNull() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Jan 04 05:32:07 GMT 2024 - 1.5K bytes - Viewed (0) -
docs/works_with_okhttp.md
* [okhttp-stats](https://github.com/flipkart-incubator/okhttp-stats): Get stats like average network speed. * [okhttp-system-keystore](https://github.com/charleskorn/okhttp-system-keystore): Use trusted certificates from the operating system keystore (Keychain on macOS, Certificate Store on Windows). * ⬜️ [Okio](https://github.com/square/okio/): A modern I/O API for Java.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Jun 08 18:15:23 GMT 2022 - 3.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
val webSocket = newWebSocket() clientListener.assertOpen() val server = serverListener.assertOpen() as RealWebSocket val startNanos = System.nanoTime() while (webSocket.receivedPongCount() < 3) { Thread.sleep(50) } val elapsedUntilPong3 = System.nanoTime() - startNanos assertThat(TimeUnit.NANOSECONDS.toMillis(elapsedUntilPong3).toDouble()) .isCloseTo(1500.0, 250.0)
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)