Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for requireNotNull (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingRequestBody.kt

        delegate.writeTo(sink)
      }
    
      override fun isDuplex(): Boolean = delegate.isDuplex()
    
      override fun toString(): String = javaClass.simpleName + "(" + delegate.toString() + ")"
    
      init {
        requireNotNull(delegate) { "delegate == null" }
        this.delegate = delegate
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        } finally {
          call.plansToCancel -= this
          if (!success) {
            rawSocket?.closeQuietly()
          }
        }
      }
    
      override fun connectTlsEtc(): ConnectResult {
        val rawSocket = requireNotNull(rawSocket) { "TCP not connected" }
        check(!isReady) { "already connected" }
    
        val connectionSpecs = route.address.connectionSpecs
        var retryTlsConnection: ConnectPlan? = null
        var success = false
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 19.3K bytes
    - Click Count (2)
Back to Top