Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for exitNetworkInterceptorExchange (0.14 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

      }
    
      /**
       * @param closeExchange true if the current exchange should be closed because it will not be used.
       *     This is usually due to either an exception or a retry.
       */
      internal fun exitNetworkInterceptorExchange(closeExchange: Boolean) {
        withLock {
          check(expectMoreExchanges) { "released" }
        }
    
        if (closeExchange) {
          exchange?.detachWithViolence()
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 19.5K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            }
    
            call.eventListener.followUpDecision(call, response, followUp)
            request = followUp
            priorResponse = response
          } finally {
            call.exitNetworkInterceptorExchange(closeActiveExchange)
          }
        }
      }
    
      /**
       * Report and attempt to recover from a failure to communicate with a server. Returns true if
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.5K bytes
    - Click Count (0)
Back to Top