Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 21 for proxyAuthenticator (0.1 seconds)

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

        return copy(proxySelector = proxySelector)
      }
    
      override fun withProxyAuthenticator(proxyAuthenticator: Authenticator): Interceptor.Chain {
        check(exchange == null) { "proxyAuthenticator can't be adjusted in a network interceptor" }
    
        return copy(proxyAuthenticator = proxyAuthenticator)
      }
    
      override fun withSslSocketFactory(
        sslSocketFactory: SSLSocketFactory?,
    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-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

          uriPort = uriPort,
          dns = dns,
          socketFactory = SocketFactory.getDefault(),
          sslSocketFactory = null,
          hostnameVerifier = null,
          certificatePinner = null,
          proxyAuthenticator = proxyAuthenticator,
          proxy = proxy,
          protocols = protocols,
          connectionSpecs = connectionSpecs,
          proxySelector = proxySelector,
        )
    
      fun newHttpsAddress(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt

      @JvmName("-deprecated_proxyAuthenticator")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "proxyAuthenticator"),
        level = DeprecationLevel.ERROR,
      )
      fun proxyAuthenticator(): Authenticator = proxyAuthenticator
    
      @JvmName("-deprecated_protocols")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "protocols"),
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

          override fun Interceptor.Chain.value(): Authenticator = proxyAuthenticator
    
          override fun Interceptor.Chain.withOverride(value: Authenticator): Interceptor.Chain = withProxyAuthenticator(value)
    
          override fun OkHttpClient.Builder.withOverride(value: Authenticator): OkHttpClient.Builder = proxyAuthenticator(value)
    
    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)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

         *
         * If unset, the [no authentication will be attempted][Authenticator.NONE].
         */
        fun proxyAuthenticator(proxyAuthenticator: Authenticator) =
          apply {
            if (proxyAuthenticator != this.proxyAuthenticator) {
              this.routeDatabase = null
            }
    
            this.proxyAuthenticator = proxyAuthenticator
          }
    
        /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 51.5K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

        val address: Address = factory.newAddress()
        val url: HttpUrl = address.url()
        val dns: Dns = address.dns()
        val socketFactory: SocketFactory = address.socketFactory()
        val proxyAuthenticator: Authenticator = address.proxyAuthenticator()
        val protocols: List<Protocol> = address.protocols()
        val connectionSpecs: List<ConnectionSpec> = address.connectionSpecs()
        val proxySelector: ProxySelector = address.proxySelector()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 13.3K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

        /**
         * Returns the proxy [Authenticator] for the OkHttpClient, or an override from the Call.Chain.
         */
        val proxyAuthenticator: Authenticator
    
        /**
         * Returns a new chain with the specified proxy [Authenticator].
         */
        fun withProxyAuthenticator(proxyAuthenticator: Authenticator): Chain
    
        /**
         * Returns the [SSLSocketFactory] 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)
  8. docs/changelogs/upgrading_to_okhttp_4.md

    Kotlin does have properties and we take advantage of them in OkHttp.
    
     * **Address**: certificatePinner, connectionSpecs, dns, hostnameVerifier, protocols, proxy,
       proxyAuthenticator, proxySelector, socketFactory, sslSocketFactory, url
     * **Cache**: directory
     * **CacheControl**: immutable, maxAgeSeconds, maxStaleSeconds, minFreshSeconds, mustRevalidate,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        val address: Address = factory.newAddress()
        val url: HttpUrl = address.url
        val dns: Dns = address.dns
        val socketFactory: SocketFactory = address.socketFactory
        val proxyAuthenticator: Authenticator = address.proxyAuthenticator
        val protocols: List<Protocol> = address.protocols
        val connectionSpecs: List<ConnectionSpec> = address.connectionSpecs
        val proxySelector: ProxySelector = address.proxySelector
    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)
  10. gradle/wrapper/gradle-wrapper.jar

    previousDownloadPerc; public void Download$DefaultDownloadProgr(Logger); public final void downloadStatusChange(long, long); } org/gradle/wrapper/Download$ProxyAuthenticator.class package org.gradle.wrapper; public final class Download$ProxyAuthenticator extends java.net.Authenticator { public final java.util.Map systemProperties; public void Download$ProxyAuthenticator(java.util.Map); public final java.net.PasswordAuthenticati getPasswordAuthentic(); } org/gradle/wrapper/Download.class package org.gradle.wrapper;...
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 04 20:34:40 GMT 2026
    - 47.8K bytes
    - Click Count (1)
Back to Top