Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RetryDecision (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

            delegate.cacheConditionalHit(call, cachedResponse)
          }
        }
    
        override fun retryDecision(
          call: Call,
          exception: IOException,
          retry: Boolean,
        ) {
          for (delegate in eventListeners) {
            delegate.retryDecision(call, exception, retry)
          }
        }
    
        override fun followUpDecision(
          call: Call,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:03:04 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            } catch (e: IOException) {
              // An attempt to communicate with a server failed. The request may have been sent.
              val isRecoverable = recover(e, call, request)
              call.eventListener.retryDecision(call, e, isRecoverable)
              if (!isRecoverable) throw e.withSuppressed(recoveredFailures)
              recoveredFailures += e
              newRoutePlanner = false
              continue
            }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. CHANGELOG.md

     *  Fix: Change the signature of `Dispatcher` to accept a nullable `ExecutorService`. Changing this
        parameter to be non-null was an unintended signature change in OkHttp 4.0.
    
     *  New: `EventListener.retryDecision()` is called each time a request fails with an `IOException`.
        It notifies your listener if OkHttp will retry.
    
     *  New: `EventListener.followUpDecision()` is called each time a response is received. It notifies
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
Back to top