Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 358 for contention (0.05 seconds)

  1. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          client
            .newCall(
              request()
                .header("Connection", "Upgrade")
                .header("Upgrade", "websocket")
                .header("Sec-WebSocket-Key", "abc123")
                .build(),
            ).execute()
        response.body.close()
        networkLogs
          .assertLogEqual("--> GET $url http/1.1")
          .assertLogEqual("Connection: Upgrade")
          .assertLogEqual("Upgrade: websocket")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.InterruptedIOException
    import java.net.ProtocolException
    import java.security.cert.CertificateException
    import javax.net.ssl.SSLException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLPeerUnverifiedException
    import okio.IOException
    
    /** Returns true if a TLS connection should be retried after [e]. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

       *    can successfully complete the cache entry.
       *
       *  * Throttle the response. The HTTP/1 connection pool will attempt to read the entire response
       *    body so that it can pool the connection.
       */
      private fun trailersWithClientPrematureClose(protocol: Protocol) {
        val halfResponseBody = "a".repeat(OKHTTP_CLIENT_WINDOW_SIZE)
        enableProtocol(protocol)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 18.8K bytes
    - Click Count (0)
  4. pom.xml

    			<email>******@****.***</email>
    			<organization>CodeLibs Inc.</organization>
    			<organizationUrl>https://codelibs.co</organizationUrl>
    		</developer>
    	</developers>
    	<scm>
    		<connection>scm:git:******@****.***:codelibs/corelib.git</connection>
    		<url>scm:git:******@****.***:codelibs/corelib.git</url>
    		<developerConnection>scm:git:******@****.***:codelibs/corelib.git</developerConnection>
    	  <tag>HEAD</tag>
      </scm>
    	<properties>
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Dec 20 04:15:34 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

          val logHeaders = logBody || level == Level.HEADERS
    
          val requestBody = request.body
    
          val connection = chain.connection()
          var requestStartMessage =
            ("--> ${request.method} ${redactUrl(request.url)}${if (connection != null) " " + connection.protocol() else ""}")
          if (!logHeaders && requestBody != null) {
            requestStartMessage += " (${requestBody.contentLength()}-byte body)"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          // Cleanup log handler if failed.
          logger.removeHandler(loggerHandler)
        }
    
        override fun connectionAcquired(
          call: Call,
          connection: Connection,
        ) {
          if (random != null) {
            val sslSocket = connection.socket() as SSLSocket
            val session = sslSocket.session
    
            val masterSecretHex =
              session.masterSecret
                ?.encoded
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

      ) {
        logWithTime("connectFailed: $protocol $ioe")
      }
    
      override fun connectionAcquired(
        call: Call,
        connection: Connection,
      ) {
        logWithTime("connectionAcquired: $connection")
      }
    
      override fun connectionReleased(
        call: Call,
        connection: Connection,
      ) {
        logWithTime("connectionReleased")
      }
    
      override fun requestHeadersStart(call: Call) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. android-test/src/androidDeviceTest/java/okhttp/android/test/OkHttpTest.kt

                clientTestRule.wrap(
                  object : EventListener() {
                    override fun connectionAcquired(
                      call: Call,
                      connection: Connection,
                    ) {
                      socketClass = connection.socket().javaClass.name
                    }
                  },
                ),
              ).build()
    
          val response = client.newCall(request).execute()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  9. okhttp-testing-support/build.gradle.kts

    import org.gradle.internal.os.OperatingSystem
    plugins {
      kotlin("jvm")
      id("okhttp.jvm-conventions")
      id("okhttp.quality-conventions")
      id("okhttp.testing-conventions")
    }
    
    dependencies {
      api(libs.square.okio)
      api(projects.mockwebserver3)
      "friendsApi"(projects.okhttp)
      api(projects.okhttpTls)
      api(libs.assertk)
      api(libs.bouncycastle.bcprov)
      implementation(libs.bouncycastle.bcpkix)
      implementation(libs.bouncycastle.bctls)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 1.3K bytes
    - Click Count (1)
  10. android/guava-bom/pom.xml

        <developer>
          <id>cpovirk</id>
          <name>Chris Povirk</name>
          <email>******@****.***</email>
        </developer>
      </developers>
    
      <scm>
        <connection>scm:git:https://github.com/google/guava.git</connection>
        <developerConnection>scm:git:******@****.***:google/guava.git</developerConnection>
        <url>https://github.com/google/guava</url>
      </scm>
    
      <issueManagement>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 12 15:41:31 GMT 2026
    - 2.9K bytes
    - Click Count (0)
Back to Top