Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for handleSuccess (0.08 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

            else -> {
              events += "plan $id TLS connected"
              connectState = ConnectState.TLS_CONNECTED
              ConnectResult(this)
            }
          }
        }
    
        override fun handleSuccess() = connection
    
        override fun cancel() {
          events += "plan $id cancel"
          canceled = true
        }
    
        override fun retry(): FakePlan? {
          check(!retryTaken)
          retryTaken = true
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          }
        }
        return null
      }
    
      /** Returns the connection to use, which might be different from [connection]. */
      override fun handleSuccess(): RealConnection {
        call.client.routeDatabase.connected(route)
    
        val connection = this.connection!!
        connection.connectionListener.connectEnd(connection, route, call)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 19.3K bytes
    - Click Count (2)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

              if (!connectResult.plan.isReady) {
                connectResult = connectResult.plan.connectTlsEtc()
              }
    
              if (connectResult.isSuccess) {
                return connectResult.plan.handleSuccess()
              }
            }
    
            val throwable = connectResult.throwable
            if (throwable != null) {
              if (throwable !is IOException) throw throwable
              if (firstException == null) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top