- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 44 for Snible (0.17 sec)
-
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt
httpClient.close() } @Test fun get() { val request = HttpGet("https://google.com/robots.txt") httpClient.execute(request).use { response -> assertEquals(200, response.code) // TODO enable ALPN later assertEquals(HttpVersion.HTTP_1_1, response.version) } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt
else -> println(message) } } fun enableJsseDebugLogging(debugHandler: (JsseDebugMessage) -> Unit = this::quietDebug): Closeable { System.setProperty("javax.net.debug", "") return OkHttpDebugLogging.enable( "javax.net.ssl", object : Handler() { override fun publish(record: LogRecord) { val param = record.parameters?.firstOrNull() as? String
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.8K bytes - Viewed (0) -
okhttp/build.gradle.kts
the generated index.xml, are outputs, not inputs. We can be sure of this because they are deleted in the @BeforeEach method of the OsgiTest test class. - To enable the benefit of incremental builds, we can ask Gradle to ignore these two files when considering whether the classpath has changed. That is the purpose of this normalization block. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Jan 04 05:32:07 GMT 2024 - 5.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
.apply { isAccessible = true } .get(this) as? SecretKey val randomRegex = "\"random\"\\s+:\\s+\"([^\"]+)\"".toRegex() fun register() { // Enable JUL logging for SSL events, must be activated early or via -D option. System.setProperty("javax.net.debug", "") logger = Logger.getLogger("javax.net.ssl") .apply {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.7K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
Thread.currentThread().interrupt() // Retain interrupted status. } } check(::publicSuffixListBytes.isInitialized) { // May have failed with an IOException "Unable to load $PUBLIC_SUFFIX_RESOURCE resource from the classpath." } // Break apart the domain into UTF-8 labels, i.e. foo.bar.com turns into [foo, bar, com].
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.7K bytes - Viewed (0) -
okhttp/src/main/resources/META-INF/native-image/okhttp/okhttp/native-image.properties
Args = -H:+AddAllCharsets -H:EnableURLProtocols=http,https --enable-https --features=okhttp3.internal.graal.OkHttpFeature...
Properties - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 122 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/SettingsTest.kt
val settings = Settings() settings[Settings.HEADER_TABLE_SIZE] = 8096 assertThat(settings.headerTableSize).isEqualTo(8096) assertThat(settings.getEnablePush(true)).isTrue() settings[Settings.ENABLE_PUSH] = 1 assertThat(settings.getEnablePush(false)).isTrue() settings.clear() assertThat(settings.getMaxConcurrentStreams()).isEqualTo(Int.MAX_VALUE) settings[Settings.MAX_CONCURRENT_STREAMS] = 75
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) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt
null } } override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? { // Not supported due to access checks on JDK 9+: // java.lang.reflect.InaccessibleObjectException: Unable to make member of class // sun.security.ssl.SSLSocketFactoryImpl accessible: module java.base does not export // sun.security.ssl to unnamed module @xxx throw UnsupportedOperationException(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/AndroidPlatform.kt
trustManager, cert, ) as TrustAnchor trustAnchor.trustedCert } catch (e: IllegalAccessException) { throw AssertionError("unable to get issues and signature", e) } catch (_: InvocationTargetException) { null } } } companion object { val isSupported: Boolean = when {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.2K bytes - Viewed (0) -
.github/workflows/build.yml
java-version: 11 - name: Configure JDK uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: 17 - name: Enable KVM group perms # https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/ run: |
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)