Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for RetryOnConnectionFailure (0.13 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

        return copy(socketFactory = socketFactory)
      }
    
      override fun withRetryOnConnectionFailure(retryOnConnectionFailure: Boolean): Interceptor.Chain {
        check(exchange == null) { "retryOnConnectionFailure can't be adjusted in a network interceptor" }
    
        return copy(retryOnConnectionFailure = retryOnConnectionFailure)
      }
    
      override fun withAuthenticator(authenticator: Authenticator): Interceptor.Chain {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

          override fun Interceptor.Chain.value(): Boolean = retryOnConnectionFailure
    
          override fun Interceptor.Chain.withOverride(value: Boolean): Interceptor.Chain = withRetryOnConnectionFailure(value)
    
          override fun OkHttpClient.Builder.withOverride(value: Boolean): OkHttpClient.Builder = retryOnConnectionFailure(value)
    
          override val nonDefaultValue: Boolean = false
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

        /**
         * Returns true if the call should retry on connection failures.
         */
        val retryOnConnectionFailure: Boolean
    
        /**
         * Returns a new chain with the specified retry on connection failure setting.
         */
        fun withRetryOnConnectionFailure(retryOnConnectionFailure: Boolean): Chain
    
        /**
         * Returns the [Authenticator] for the OkHttpClient, or an override from the Call.Chain.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        val dns: Dns = client.dns
        val followSslRedirects: Boolean = client.followSslRedirects
        val followRedirects: Boolean = client.followRedirects
        val retryOnConnectionFailure: Boolean = client.retryOnConnectionFailure
        val callTimeoutMillis: Int = client.callTimeoutMillis
        val connectTimeoutMillis: Int = client.connectTimeoutMillis
        val readTimeoutMillis: Int = client.readTimeoutMillis
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

            .dns(DoubleInetAddressDns())
            .eventListenerFactory(
              clientTestRule.wrap(eventRecorder.eventListener + requestFinishedListener),
            ).build()
        assertThat(client.retryOnConnectionFailure).isTrue()
        executeSynchronously("/").assertBody("seed connection pool")
        executeSynchronously("/").assertBody("retry success")
    
        // The call that seeds the connection pool.
    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)
  6. okhttp/api/jvm/okhttp.api

    	public final fun proxyAuthenticator ()Lokhttp3/Authenticator;
    	public final fun proxySelector ()Ljava/net/ProxySelector;
    	public final fun readTimeoutMillis ()I
    	public final fun retryOnConnectionFailure ()Z
    	public final fun socketFactory ()Ljavax/net/SocketFactory;
    	public final fun sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory;
    	public final fun webSocketCloseTimeout ()I
    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)
  7. okhttp/api/android/okhttp.api

    	public final fun proxyAuthenticator ()Lokhttp3/Authenticator;
    	public final fun proxySelector ()Ljava/net/ProxySelector;
    	public final fun readTimeoutMillis ()I
    	public final fun retryOnConnectionFailure ()Z
    	public final fun socketFactory ()Ljavax/net/SocketFactory;
    	public final fun sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory;
    	public final fun webSocketCloseTimeout ()I
    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)
Back to Top