- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for retryDecision (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt
override fun cacheConditionalHit( call: Call, cachedResponse: Response, ) = onEvent(CacheConditionalHit(System.nanoTime(), call)) override fun retryDecision( call: Call, exception: IOException, retry: Boolean, ) = onEvent(RetryDecision(System.nanoTime(), call, exception, retry)) override fun followUpDecision( call: Call, networkResponse: Response, nextRequest: Request?,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 7.1K bytes - Click Count (0) -
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 Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:03:04 GMT 2025 - 24.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
RequestHeadersStart::class, RequestHeadersEnd::class, ResponseFailed::class, RetryDecision::class, ConnectionReleased::class, CallFailed::class, ) assertThat(eventRecorder.findEvent<RetryDecision>()).all { prop(RetryDecision::retry).isFalse() } } @Test fun failedDribbledCallEventSequence() { server.enqueue(Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 70.5K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt
override val call: Call, ) : CallEvent() data class CacheConditionalHit( override val timestampNs: Long, override val call: Call, ) : CallEvent() data class RetryDecision( override val timestampNs: Long, override val call: Call, val exception: IOException, val retry: Boolean, ) : CallEvent() data class FollowUpDecision(
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Oct 06 13:40:20 GMT 2025 - 7.4K 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 Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 05 16:02:59 GMT 2025 - 36.2K bytes - Click Count (2) -
okhttp/api/jvm/okhttp.api
public fun responseFailed (Lokhttp3/Call;Ljava/io/IOException;)V public fun responseHeadersEnd (Lokhttp3/Call;Lokhttp3/Response;)V public fun responseHeadersStart (Lokhttp3/Call;)V public fun retryDecision (Lokhttp3/Call;Ljava/io/IOException;Z)V public fun satisfactionFailure (Lokhttp3/Call;Lokhttp3/Response;)V public fun secureConnectEnd (Lokhttp3/Call;Lokhttp3/Handshake;)V public fun secureConnectStart (Lokhttp3/Call;)V
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 70.2K bytes - Click Count (0)