Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 346 for proxya (0.04 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            Proxy proxy = repository.getProxy();
            if (proxy != null) {
                if (proxy.getUserName() != null) {
                    int hash = (proxy.getUserName() + proxy.getPassword()).hashCode();
                    buffer.append(hash).append('@');
                }
                buffer.append(proxy.getHost()).append(':').append(proxy.getPort()).append('>');
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

       * header to create the request URL.
       *
       * For HTTP proxy requests this will be either an absolute-form string like
       * `http://example.com/index.html` (HTTP proxy) or an authority-form string like
       * `example.com:443` (HTTPS proxy).
       *
       * For OPTIONS requests, this may be an asterisk, `*`.
       */
      public val target: String,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jun 21 20:36:35 GMT 2025
    - 3.2K bytes
    - Click Count (1)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            for (Proxy proxy : request.getProxies()) {
                AuthenticationBuilder authBuilder = new AuthenticationBuilder();
                authBuilder.addUsername(proxy.getUsername()).addPassword(proxy.getPassword());
                proxySelector.add(
                        new org.eclipse.aether.repository.Proxy(
                                proxy.getProtocol(), proxy.getHost(), proxy.getPort(), authBuilder.build()),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 17 05:56:35 GMT 2025
    - 25.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

        }
    
        private static Proxy toProxy(org.apache.maven.repository.Proxy proxy) {
            Proxy result = null;
            if (proxy != null) {
                AuthenticationBuilder authBuilder = new AuthenticationBuilder();
                authBuilder.addUsername(proxy.getUserName()).addPassword(proxy.getPassword());
                result = new Proxy(proxy.getProtocol(), proxy.getHost(), proxy.getPort(), authBuilder.build());
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 04 18:33:16 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

        }
    
        @Override public void connectEnd(
            Call call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol) {
          printEvent("connectEnd");
        }
    
        @Override public void connectFailed(Call call, InetSocketAddress inetSocketAddress, Proxy proxy,
            Protocol protocol, IOException ioe) {
          printEvent("connectFailed");
        }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 6.1K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

    import java.io.Serializable;
    import java.lang.reflect.Method;
    import java.lang.reflect.Proxy;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Generates a dummy interface proxy that simply returns a dummy value for each method.
     *
     * @author Ben Yu
     */
    @GwtIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 22:10:29 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. api/maven-api-settings/src/main/mdo/settings.mdo

                if (proxies != null && !proxies.isEmpty()) {
                    for (Proxy proxy : proxies) {
                        if (proxy.isActive()) {
                            activeProxy = proxy;
                            break;
                        }
                    }
                }
            }
            return activeProxy;
        }
    
        public Server getServer(String serverId) {
            Server match = null;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 33.8K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/AddressTest.kt

          .isEqualTo("Address{example.com:80, proxySelector=RecordingProxySelector}")
      }
    
      @Test fun addressWithProxyToString() {
        val address = factory.newAddress(proxy = Proxy.NO_PROXY)
        assertThat(address.toString())
          .isEqualTo("Address{example.com:80, proxy=${Proxy.NO_PROXY}}")
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/curl/CurlRequestTest.java

        @Test
        public void testProxyMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
            Proxy proxy = Proxy.NO_PROXY;
    
            CurlRequest result = request.proxy(proxy);
    
            assertSame(request, result); // Fluent API
            assertSame(proxy, request.proxy());
        }
    
        @Test
        public void testEncodingMethod() {
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Mon Nov 24 03:10:07 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

      }
    
      public void testNewProxy_goodMethodWithEnoughTime() throws Exception {
        SampleImpl target = new SampleImpl(DELAY_MS);
        Sample proxy = service.newProxy(target, Sample.class, ENOUGH_MS, MILLISECONDS);
        Stopwatch stopwatch = Stopwatch.createStarted();
    
        String result = proxy.sleepThenReturnInput("x");
    
        assertThat(result).isEqualTo("x");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 9.7K bytes
    - Click Count (0)
Back to Top