Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for proxyAuthenticator (0.06 sec)

  1. 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"),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (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(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. 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
          }
    
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  4. 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()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. 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,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  6. 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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

    import okhttp3.Route
    
    /**
     * Adapts [Authenticator] to [okhttp3.Authenticator]. Configure OkHttp to use [Authenticator] with
     * [okhttp3.OkHttpClient.Builder.authenticator] or [okhttp3.OkHttpClient.Builder.proxyAuthenticator].
     */
    class JavaNetAuthenticator(
      private val defaultDns: Dns = Dns.SYSTEM,
    ) : okhttp3.Authenticator {
      @Throws(IOException::class)
      override fun authenticate(
        route: Route?,
        response: Response,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. 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;...
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 44.4K bytes
    - Viewed (1)
  9. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

            .newBuilder()
            .dns { listOf() }
            .build()
            .routeDatabase,
        )
        assertNotSame(
          client.routeDatabase,
          client
            .newBuilder()
            .proxyAuthenticator { _: Route?, _: Response? -> null }
            .build()
            .routeDatabase,
        )
        assertNotSame(
          client.routeDatabase,
          client
            .newBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          tunnelCodec.skipConnectBody(response)
    
          when (response.code) {
            HttpURLConnection.HTTP_OK -> return null
    
            HttpURLConnection.HTTP_PROXY_AUTH -> {
              nextRequest = route.address.proxyAuthenticator.authenticate(route, response)
                ?: throw IOException("Failed to authenticate with proxy")
    
              if ("close".equals(response.header("Connection"), ignoreCase = true)) {
                return nextRequest
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top