Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for requireNotNull (0.05 seconds)

  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-testing-support/src/main/kotlin/okhttp3/ForwardingResponseBody.kt

      override fun source(): BufferedSource = delegate.source()
    
      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.2K bytes
    - Click Count (0)
  3. 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