Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for retryDecision (0.41 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          "ConnectEnd",
          "ConnectionAcquired",
          "RequestHeadersStart",
          "RequestHeadersEnd",
          "ResponseFailed",
          "RetryDecision",
          "ConnectionReleased",
          "CallFailed",
        )
        assertThat(listener.findEvent<RetryDecision>()).all {
          prop(RetryDecision::retry).isFalse()
        }
      }
    
      @Test
      fun failedDribbledCallEventSequence() {
        server.enqueue(
          MockResponse
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          "RequestHeadersEnd",
          "RequestBodyStart",
          "RequestBodyEnd",
          "ResponseFailed",
          "RetryDecision",
          "ConnectionReleased",
          "CallFailed",
        )
        assertThat(listener.findEvent<RetryDecision>()).all {
          prop(RetryDecision::retry).isFalse()
        }
        listener.clearAllEvents()
    
        val response3 = client.newCall(request1).execute()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  3. 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 notifies
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  4. 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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  5. okhttp/api/android/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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
Back to top