Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for ProxySelector (0.07 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

        }
    
        object ProxySelectorOverride : Override<ProxySelector> {
          override fun Interceptor.Chain.value(): ProxySelector = proxySelector
    
          override fun Interceptor.Chain.withOverride(value: ProxySelector): Interceptor.Chain = withProxySelector(value)
    
          override fun OkHttpClient.Builder.withOverride(value: ProxySelector): OkHttpClient.Builder = proxySelector(value)
    
          override val nonDefaultValue: ProxySelector =
    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)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            DefaultProxySelector proxySelector = new DefaultProxySelector();
            for (Proxy proxy : request.getProxies()) {
                AuthenticationBuilder authBuilder = new AuthenticationBuilder();
                authBuilder.addUsername(proxy.getUsername()).addPassword(proxy.getPassword());
                proxySelector.add(
                        new org.eclipse.aether.repository.Proxy(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  3. docs/features/connections.md

    Routes supply the **dynamic** information necessary to actually connect to a webserver. This is the specific IP address to attempt (as discovered by a DNS query), the exact proxy server to use (if a [ProxySelector](https://developer.android.com/reference/java/net/ProxySelector.html) is in use), and which version of TLS to negotiate (for HTTPS connections).
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

      fun connectTimeoutsAttemptsAlternateRoute() {
        val proxySelector = RecordingProxySelector()
        proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, TestUtil.UNREACHABLE_ADDRESS_IPV4))
        proxySelector.proxies.add(server.proxyAddress)
        server.enqueue(MockResponse(body = "success!"))
        client =
          client
            .newBuilder()
            .proxySelector(proxySelector)
            .readTimeout(Duration.ofMillis(100))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
Back to Top