Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for proxyAuthenticator (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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 {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. 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 client.proxyAuthenticator.authenticate(route, userResponse)
          }
    
          HTTP_UNAUTHORIZED -> return client.authenticator.authenticate(route, userResponse)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. 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 (1)
  8. 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)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

            .newBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            ).proxy(server.proxyAddress)
            .proxyAuthenticator(RecordingOkAuthenticator("password", "Basic"))
            .hostnameVerifier(RecordingHostnameVerifier())
            .build()
        val request = Request("https://android.com/foo".toHttpUrl())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  10. okhttp/api/jvm/okhttp.api

    	public fun hashCode ()I
    	public final fun hostnameVerifier ()Ljavax/net/ssl/HostnameVerifier;
    	public final fun protocols ()Ljava/util/List;
    	public final fun proxy ()Ljava/net/Proxy;
    	public final fun proxyAuthenticator ()Lokhttp3/Authenticator;
    	public final fun proxySelector ()Ljava/net/ProxySelector;
    	public final fun socketFactory ()Ljavax/net/SocketFactory;
    	public final fun sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
Back to top