Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for FollowUpDecision (0.08 sec)

  1. 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()
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  2. 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
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt

        call: Call,
        exception: IOException,
        retry: Boolean,
      ) = onEvent(RetryDecision(System.nanoTime(), call, exception, retry))
    
      override fun followUpDecision(
        call: Call,
        networkResponse: Response,
        nextRequest: Request?,
      ) = onEvent(FollowUpDecision(System.nanoTime(), call, networkResponse, nextRequest))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:03:04 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. 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)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.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
    - 8.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top