Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for withSslSocketFactory (0.14 seconds)

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

        check(exchange == null) { "proxyAuthenticator can't be adjusted in a network interceptor" }
    
        return copy(proxyAuthenticator = proxyAuthenticator)
      }
    
      override fun withSslSocketFactory(
        sslSocketFactory: SSLSocketFactory?,
        x509TrustManager: X509TrustManager?,
      ): Interceptor.Chain {
        check(exchange == null) { "sslSocketFactory can't be adjusted in a network interceptor" }
    
    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(): SSLSocketFactory? = sslSocketFactoryOrNull
    
          override fun Interceptor.Chain.withOverride(value: SSLSocketFactory?): Interceptor.Chain =
            withSslSocketFactory(value, x509TrustManagerOrNull)
    
          override fun OkHttpClient.Builder.withOverride(value: SSLSocketFactory?): OkHttpClient.Builder =
            sslSocketFactory(value!!, x509TrustManagerOrNull!!)
    
    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 a new chain with the specified [SSLSocketFactory].
         *
         * @throws IllegalStateException if this is a Network Interceptor, since the override is too late.
         */
        fun withSslSocketFactory(
          sslSocketFactory: SSLSocketFactory?,
          x509TrustManager: X509TrustManager?,
        ): Chain
    
        /**
         * Returns the [X509TrustManager] 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

            TODO()
          }
    
          override fun withProxyAuthenticator(proxyAuthenticator: Authenticator): Interceptor.Chain {
            TODO()
          }
    
          override fun withSslSocketFactory(
            sslSocketFactory: SSLSocketFactory?,
            x509TrustManager: X509TrustManager?,
          ): Interceptor.Chain {
            TODO()
          }
    
    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/api/jvm/okhttp.api

    	public abstract fun withRetryOnConnectionFailure (Z)Lokhttp3/Interceptor$Chain;
    	public abstract fun withSocketFactory (Ljavax/net/SocketFactory;)Lokhttp3/Interceptor$Chain;
    	public abstract fun withSslSocketFactory (Ljavax/net/ssl/SSLSocketFactory;Ljavax/net/ssl/X509TrustManager;)Lokhttp3/Interceptor$Chain;
    	public abstract fun withWriteTimeout (ILjava/util/concurrent/TimeUnit;)Lokhttp3/Interceptor$Chain;
    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. okhttp/api/android/okhttp.api

    	public abstract fun withRetryOnConnectionFailure (Z)Lokhttp3/Interceptor$Chain;
    	public abstract fun withSocketFactory (Ljavax/net/SocketFactory;)Lokhttp3/Interceptor$Chain;
    	public abstract fun withSslSocketFactory (Ljavax/net/ssl/SSLSocketFactory;Ljavax/net/ssl/X509TrustManager;)Lokhttp3/Interceptor$Chain;
    	public abstract fun withWriteTimeout (ILjava/util/concurrent/TimeUnit;)Lokhttp3/Interceptor$Chain;
    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