Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for followUpDecision (0.25 sec)

  1. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

          "ResponseBodyEnd",
          "FollowUpDecision",
          "RequestHeadersStart",
          "RequestHeadersEnd",
          "ResponseHeadersStart",
          "ResponseHeadersEnd",
          "FollowUpDecision",
          "ResponseBodyStart",
          "ResponseBodyEnd",
          "ConnectionReleased",
          "CallEnd",
          "RequestFailed",
        )
        assertThat(listener.findEvent<FollowUpDecision>()).all {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  3. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       *
       * @param networkResponse the intermediate response that may require a follow-up request.
       * @param nextRequest the follow-up request that will be made. Null if no follow-up will be made.
       */
      open fun followUpDecision(
        call: Call,
        networkResponse: Response,
        nextRequest: Request?,
      ) {
      }
    
      fun interface Factory {
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (2)
Back to top