Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for setProxies (0.11 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java

         *
         * @return The decrypted proxy or {@code null}.
         */
        Proxy getProxy();
    
        /**
         * Gets the decrypted proxies.
         *
         * @return The decrypted proxy, can be empty but never {@code null}.
         */
        List<Proxy> getProxies();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java

            return servers;
        }
    
        @Override
        public Proxy getProxy() {
            return proxies.isEmpty() ? null : proxies.get(0);
        }
    
        @Override
        public List<Proxy> getProxies() {
            return proxies;
        }
    
        @Override
        public List<SettingsProblem> getProblems() {
            return problems;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java

                                e));
                    }
                }
    
                servers.add(server);
            }
    
            List<Proxy> proxies = new ArrayList<>();
    
            for (Proxy proxy : request.getProxies()) {
                String password = proxy.getPassword();
                if (securityDispatcher.isAnyEncryptedString(password)) {
                    try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            //      <password>somepassword</password>
            //      <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
            //    </proxy>
            //  </proxies>
    
            for (Proxy proxy : settings.getProxies()) {
                if (!proxy.isActive()) {
                    continue;
                }
    
                request.addProxy(proxy);
            }
    
            // <mirrors>
            //   <mirror>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

            if (session != null && protocol != null) {
                MavenExecutionRequest request = session.getRequest();
    
                if (request != null) {
                    List<Proxy> proxies = request.getProxies();
    
                    if (proxies != null) {
                        for (Proxy proxy : proxies) {
                            if (proxy.isActive() && protocol.equalsIgnoreCase(proxy.getProtocol())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            //      <password>somepassword</password>
            //      <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
            //    </proxy>
            //  </proxies>
    
            for (Proxy proxy : settings.getProxies()) {
                if (!proxy.isActive()) {
                    continue;
                }
    
                proxy = proxy.clone();
    
                request.addProxy(proxy);
            }
    
            // <mirrors>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                    .localRepository(localRepo != null ? localRepo.getAbsolutePath() : null)
                    .interactiveMode(request.isInteractiveMode())
                    .offline(request.isOffline())
                    .proxies(request.getProxies().stream().map(Proxy::getDelegate).collect(Collectors.toList()))
                    .servers(request.getServers().stream().map(Server::getDelegate).collect(Collectors.toList()))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. api/maven-api-settings/src/main/mdo/settings.mdo

        }
    
        /**
         * @return the first active proxy
         */
        public synchronized Proxy getActiveProxy() {
            if (activeProxy == null) {
                java.util.List<Proxy> proxies = getProxies();
                if (proxies != null && !proxies.isEmpty()) {
                    for (Proxy proxy : proxies) {
                        if (proxy.isActive()) {
                            activeProxy = proxy;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 08 13:46:42 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            //      <password>somepassword</password>
            //      <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
            //    </proxy>
            //  </proxies>
    
            for (Proxy proxy : settings.getProxies()) {
                if (!proxy.isActive()) {
                    continue;
                }
                request.addProxy(new org.apache.maven.settings.Proxy(proxy));
            }
    
            // <mirrors>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top