Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for RealInterceptorChain (0.07 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

     *
     * If the chain is for an application interceptor then [exchange] must be null. Otherwise it is for
     * a network interceptor and [exchange] must be non-null.
     */
    class RealInterceptorChain(
      internal val call: RealCall,
      private val interceptors: List<Interceptor>,
      private val index: Int,
      internal val exchange: Exchange?,
      internal val request: Request,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectInterceptor.kt

     *  limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    import okhttp3.Interceptor
    import okhttp3.Response
    import okhttp3.internal.http.RealInterceptorChain
    
    /**
     * Opens a connection to the target server and proceeds to the next interceptor. The network might
     * be used for the returned response, or to validate a cached response with a conditional GET.
     */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

    import okhttp3.internal.concurrent.assertLockNotHeld
    import okhttp3.internal.concurrent.withLock
    import okhttp3.internal.http.BridgeInterceptor
    import okhttp3.internal.http.CallServerInterceptor
    import okhttp3.internal.http.RealInterceptorChain
    import okhttp3.internal.http.RetryAndFollowUpInterceptor
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.threadName
    import okio.AsyncTimeout
    import okio.Timeout
    
    /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

    import okhttp3.internal.headersContentLength
    import okhttp3.internal.http.ExchangeCodec
    import okhttp3.internal.http.ExchangeCodec.Carrier
    import okhttp3.internal.http.HTTP_CONTINUE
    import okhttp3.internal.http.RealInterceptorChain
    import okhttp3.internal.http.RequestLine
    import okhttp3.internal.http.StatusLine
    import okhttp3.internal.http.promisesBody
    import okhttp3.internal.http2.Header.Companion.RESPONSE_STATUS_UTF8
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

    object CallServerInterceptor : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val realChain = chain as RealInterceptorChain
        val exchange = realChain.exchange!!
        val request = realChain.request
        val requestBody = request.body
        val sentRequestMillis = System.currentTimeMillis()
    
        var invokeStartEvent = true
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

      ): Route =
        Route(
          address = address,
          proxy = proxy,
          socketAddress = socketAddress,
        )
    
      fun newChain(call: RealCall): RealInterceptorChain =
        RealInterceptorChain(
          call = call,
          interceptors = listOf(),
          index = 0,
          exchange = null,
          request = call.request(),
          connectTimeoutMillis = 10_000,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

    import okhttp3.internal.concurrent.assertLockHeld
    import okhttp3.internal.concurrent.assertLockNotHeld
    import okhttp3.internal.concurrent.withLock
    import okhttp3.internal.http.ExchangeCodec
    import okhttp3.internal.http.RealInterceptorChain
    import okhttp3.internal.http1.Http1ExchangeCodec
    import okhttp3.internal.http2.ConnectionShutdownException
    import okhttp3.internal.http2.ErrorCode
    import okhttp3.internal.http2.FlowControlListener
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

     */
    class RetryAndFollowUpInterceptor(
      private val client: OkHttpClient,
    ) : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val realChain = chain as RealInterceptorChain
        var request = chain.request
        val call = realChain.call
        var followUpCount = 0
        var priorResponse: Response? = null
        var newRoutePlanner = true
        var recoveredFailures = listOf<IOException>()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/internal/http/RealInterceptorChain;-><init>(Lokhttp3/internal/connection/RealCall;Ljava/util/List;ILokhttp3/internal/connection/Exchange;Lokhttp3/Request;III)V
    HSPLokhttp3/internal/http/RealInterceptorChain;->copy$okhttp$default(Lokhttp3/internal/http/RealInterceptorChain;ILokhttp3/internal/connection/Exchange;Lokhttp3/Request;IIII)Lokhttp3/internal/http/RealInterceptorChain;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (1)
Back to top