- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for retryDecision (0.06 seconds)
-
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,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:03:04 GMT 2025 - 24.9K bytes - Click Count (0) -
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, chain, request) call.eventListener.retryDecision(call, e, isRecoverable) if (!isRecoverable) throw e.withSuppressed(recoveredFailures) recoveredFailures += e newRoutePlanner = false continue }
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) -
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 notifiesCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 15 11:57:47 GMT 2026 - 36.2K bytes - Click Count (2)