Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for proxyAuthenticator (0.19 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 13.4K bytes
    - Click Count (1)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

            .sentRequestAtMillis(-1L)
            .receivedResponseAtMillis(-1L)
            .header("Proxy-Authenticate", "OkHttp-Preemptive")
            .build()
    
        val authenticatedRequest =
          route.address.proxyAuthenticator
            .authenticate(route, fakeAuthChallengeResponse)
    
        return authenticatedRequest ?: proxyConnectRequest
      }
    
      override fun hasNext(failedConnection: RealConnection?): Boolean {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            if (selectedProxy.type() != Proxy.Type.HTTP) {
              throw ProtocolException("Received HTTP_PROXY_AUTH (407) code while not using proxy")
            }
            return chain.proxyAuthenticator.authenticate(route, userResponse)
          }
    
          HTTP_UNAUTHORIZED -> {
            return chain.authenticator.authenticate(route, userResponse)
          }
    
    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)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 19.3K bytes
    - Click Count (2)
Back to Top