- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for jdk (0.13 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
if (openJSSE != null) { return openJSSE } } // An Oracle JDK 9 like OpenJDK, or JDK 8 251+. val jdk9 = Jdk9Platform.buildIfSupported() if (jdk9 != null) { return jdk9 } // An Oracle JDK 8 like OpenJDK, pre 251. val jdkWithJettyBoot = Jdk8WithJettyBootPlatform.buildIfSupported()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt
call.execute() }.also { expected -> when (expected) { is SSLHandshakeException -> { // JDK 11+ } is SSLException -> { // javax.net.ssl.SSLException: readRecord } is SocketException -> { // Conscrypt, JDK 8 (>= 292), JDK 9 } else -> { assertThat(expected.message).isEqualTo("exhausted all routes") }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Jan 14 10:20:09 GMT 2024 - 12.5K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
@Test fun disconnectAtStart() { server.enqueue( MockResponse() .setSocketPolicy(SocketPolicy.DISCONNECT_AT_START), ) server.enqueue(MockResponse()) // The jdk's HttpUrlConnection is a bastard. server.enqueue(MockResponse()) try { server.url("/a").toUrl().openConnection().getInputStream() fail<Any>() } catch (expected: IOException) { }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 21.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
} fun fromMajor(version: Int): Matcher<PlatformVersion> { return object : TypeSafeMatcher<PlatformVersion>() { override fun describeTo(description: Description) { description.appendText("JDK with version from $version") } override fun matchesSafely(item: PlatformVersion): Boolean { return item.majorVersion >= version } } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.3K bytes - Viewed (0) -
CHANGELOG.md
its own IDN mapping table in the library. * New: Prefer the client's configured precedence order for TLS cipher suites. (OkHttp used to prefer the JDK’s precedence order.) This change may cause your HTTP calls to negotiate a different cipher suite than before! OkHttp's defaults cipher suites are selected for good security and performance.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:31:39 GMT 2024 - 21.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CipherSuite.kt
* here. Cipher suites that are not available on either Android (through API level 24) or Java * (through JDK 9) are omitted for brevity. * * See [Android SSLEngine][sslengine] which lists the cipher suites supported by Android. * * See [JDK Providers][oracle_providers] which lists the cipher suites supported by Oracle. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 39.9K bytes - Viewed (1) -
.github/workflows/build.yml
Others - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 01:51:50 GMT 2024 - 17.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
// java.security.KeyStoreException: Certificate chain is not valid // at sun.security.pkcs12.PKCS12KeyStore.setKeyEntry // http://openjdk.java.net/jeps/229 // http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/2c1c21d11e58/src/share/classes/sun/security/pkcs12/PKCS12KeyStore.java#l596 val keystoreType = if (platform.isJdk9()) "JKS" else null val x509KeyManager = newKeyManager(keystoreType, heldCertificate, *intermediates)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 23.8K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
@Test fun disconnectAtStart() { server.enqueue( MockResponse.Builder() .socketPolicy(DisconnectAtStart) .build(), ) server.enqueue(MockResponse()) // The jdk's HttpUrlConnection is a bastard. server.enqueue(MockResponse()) try { server.url("/a").toUrl().openConnection().getInputStream() fail<Unit>() } catch (expected: IOException) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 23.5K bytes - Viewed (0)