- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 80 for run (0.16 sec)
-
docs/features/interceptors.md
.url("http://www.publicobject.com/helloworld.txt") .header("User-Agent", "OkHttp Example") .build(); Response response = client.newCall(request).execute(); response.body().close(); ``` When we run this code, the interceptor runs twice. Once for the initial request to `http://www.publicobject.com/helloworld.txt`, and another for the redirect to `https://publicobject.com/helloworld.txt`. ```
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 8.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt
// This ensures that we never wait for a blocking operation while holding 'this'. /** True if this peer initiated the connection. */ internal val client: Boolean = builder.client /** User code to run in response to incoming streams or settings. */ internal val listener: Listener = builder.listener internal val streams = mutableMapOf<Int, Http2Stream>() internal val connectionName: String = builder.connectionName
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 32.6K bytes - Viewed (0) -
buildSrc/src/main/kotlin/Osgi.kt
val bundleExtension = jarTask.extensions.findByType() ?: jarTask.extensions.create( BundleTaskExtension.NAME, BundleTaskExtension::class.java, jarTask, ) bundleExtension.run { setClasspath(osgi.compileClasspath + sourceSets["main"].compileClasspath) bnd(*bndProperties) } // Call the convention when the task has finished, to modify the jar to contain OSGi metadata. jarTask.doLast {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 2.2K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt
import org.junit.jupiter.api.Test /** * Test for new Let's Encrypt Root Certificate. */ @Tag("Remote") class LetsEncryptClientTest { @Test fun get() { // These tests wont actually run before Android 8.0 as per // https://github.com/mannodermaus/android-junit5 // Raised https://github.com/mannodermaus/android-junit5/issues/228 to reevaluate val androidMorEarlier = Build.VERSION.SDK_INT <= 23
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt
"Unexpected default trust managers: ${trustManagers.contentToString()}" } val x509TrustManager = trustManagers[0] as X509TrustManager // Disabled because OkHttp will run anyway Conscrypt.setHostnameVerifier(x509TrustManager, DisabledHostnameVerifier) return x509TrustManager } internal object DisabledHostnameVerifier : ConscryptHostnameVerifier { fun verify(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
import org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder import org.junit.platform.launcher.core.LauncherFactory import org.junit.platform.launcher.listeners.SummaryGeneratingListener /** * Graal main method to run tests with minimal reflection and automatic settings. * Uses the test list in native-image-tests/src/main/resources/testlist.txt. */ fun main(vararg args: String) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt
repositoryPlugin.deployDirectory(testResourceDir / "deployments") repositoryPlugin.deployClassPath() } private fun createBndRun(workspace: Workspace): Bndrun { // Creating the run require string. It will always use the latest version of each bundle // available in the repository. val runRequireString = REQUIRED_BUNDLES.joinToString(separator = ",") {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.9K bytes - Viewed (0) -
okhttp/build.gradle.kts
can"t benefit from incremental build acceleration, because on every execution it sees that the classpath has changed, and so to be safe, it needs to re-run. - This is unfortunate, because actually it would be safe to declare the task as up-to-date, because these two files, which are based on the generated index.xml, are outputs, not inputs. We can be sure of
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) -
okhttp/src/main/kotlin/okhttp3/CipherSuite.kt
return 0 } } /** * Holds interned instances. This needs to be above the init() calls below so that it's * initialized by the time those parts of `<clinit>()` run. Guarded by CipherSuite.class. */ private val INSTANCES = mutableMapOf<String, CipherSuite>() // Last updated 2016-07-03 using cipher suites from Android 24 and Java 9.
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)