Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for FollowUpDecision (0.07 sec)

  1. 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
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

              }
              closeActiveExchange = false
              call.eventListener.followUpDecision(call, response, null)
              return response
            }
    
            val followUpBody = followUp.body
            if (followUpBody != null && followUpBody.isOneShot()) {
              closeActiveExchange = false
              call.eventListener.followUpDecision(call, response, null)
              return response
            }
    
    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. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

          ResponseHeadersEnd::class,
          ResponseBodyStart::class,
          ResponseBodyEnd::class,
          FollowUpDecision::class,
          RequestHeadersStart::class,
          RequestHeadersEnd::class,
          ResponseHeadersStart::class,
          ResponseHeadersEnd::class,
          FollowUpDecision::class,
          ResponseBodyStart::class,
          ResponseBodyEnd::class,
          ConnectionReleased::class,
          CallEnd::class,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  4. 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)
          }
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:03:04 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  6. 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.
    
    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