Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for RetryDecision (0.07 seconds)

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

          RequestHeadersStart::class,
          RequestHeadersEnd::class,
          ResponseFailed::class,
          RetryDecision::class,
          ConnectionReleased::class,
          CallFailed::class,
        )
        assertThat(eventRecorder.findEvent<RetryDecision>()).all {
          prop(RetryDecision::retry).isFalse()
        }
      }
    
      @Test
      fun failedDribbledCallEventSequence() {
        server.enqueue(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          RequestBodyStart::class,
          RequestBodyEnd::class,
          ResponseFailed::class,
          RetryDecision::class,
          ConnectionReleased::class,
          CallFailed::class,
        )
        assertThat(eventRecorder.findEvent<RetryDecision>()).all {
          prop(RetryDecision::retry).isFalse()
        }
        eventRecorder.clearAllEvents()
    
        val response3 = client.newCall(request1).execute()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            } catch (e: IOException) {
              // An attempt to communicate with a server failed. The request may have been sent.
              val isRecoverable = recover(e, call, chain, request)
              call.eventListener.retryDecision(call, e, isRecoverable)
              if (!isRecoverable) throw e.withSuppressed(recoveredFailures)
              recoveredFailures += e
              newRoutePlanner = false
              continue
            }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  6. 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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 15 11:57:47 GMT 2026
    - 36.2K bytes
    - Click Count (2)
Back to Top