- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for FollowUpDecision (0.15 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
ResponseHeadersEnd::class, ResponseBodyStart::class, ResponseBodyEnd::class, FollowUpDecision::class, ConnectionReleased::class, CallEnd::class, ) assertThat(eventRecorder.findEvent<FollowUpDecision>()).all { prop(FollowUpDecision::nextRequest).isNotNull() } otherServer.close() } @TestCreated: 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/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
import okhttp3.CallEvent.ConnectStart import okhttp3.CallEvent.ConnectionAcquired import okhttp3.CallEvent.ConnectionReleased import okhttp3.CallEvent.DnsEnd import okhttp3.CallEvent.DnsStart import okhttp3.CallEvent.FollowUpDecision import okhttp3.CallEvent.ProxySelectEnd import okhttp3.CallEvent.ProxySelectStart import okhttp3.CallEvent.RequestBodyEnd import okhttp3.CallEvent.RequestBodyStart import okhttp3.CallEvent.RequestHeadersEnd
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 9.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:58:02 GMT 2025 - 12.4K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt
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-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
call: Call, exception: IOException, retry: Boolean, ) { logWithTime("retryDecision") } override fun followUpDecision( call: Call, networkResponse: Response, nextRequest: Request?, ) { logWithTime("followUpDecision") } private fun logWithTime(message: String) { val startNs = startNs val timeMs = if (startNs == null) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:03:04 GMT 2025 - 5.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
import okhttp3.CallEvent.ConnectStart import okhttp3.CallEvent.ConnectionAcquired import okhttp3.CallEvent.ConnectionReleased import okhttp3.CallEvent.DnsEnd import okhttp3.CallEvent.DnsStart import okhttp3.CallEvent.FollowUpDecision import okhttp3.CallEvent.ProxySelectEnd import okhttp3.CallEvent.ProxySelectStart import okhttp3.CallEvent.RequestBodyStart import okhttp3.CallEvent.RequestFailed import okhttp3.CallEvent.RequestHeadersEnd
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
delegate.retryDecision(call, exception, retry) } } override fun followUpDecision( call: Call, networkResponse: Response, nextRequest: Request?, ) { for (delegate in eventListeners) { delegate.followUpDecision(call, networkResponse, nextRequest) } } }
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) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
import okhttp3.CallEvent.ConnectStart import okhttp3.CallEvent.ConnectionAcquired import okhttp3.CallEvent.ConnectionReleased import okhttp3.CallEvent.DnsEnd import okhttp3.CallEvent.DnsStart import okhttp3.CallEvent.FollowUpDecision import okhttp3.CallEvent.ProxySelectEnd import okhttp3.CallEvent.ProxySelectStart import okhttp3.CallEvent.RequestHeadersEnd import okhttp3.CallEvent.RequestHeadersStart import okhttp3.CallEvent.ResponseBodyEnd
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 29.9K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt
data class RetryDecision( override val timestampNs: Long, override val call: Call, val exception: IOException, val retry: Boolean, ) : CallEvent() data class FollowUpDecision( override val timestampNs: Long, override val call: Call, val networkResponse: Response, val nextRequest: Request?, ) : CallEvent()
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
* 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 your listener if OkHttp has decided to make a follow-up request. Some common follow-ups are authentication challenges and redirects.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 05 16:02:59 GMT 2025 - 36.2K bytes - Click Count (2)