Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getProxies (0.06 sec)

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

         *
         * @param settings The settings to decrypt, must not be {@code null}.
         */
        public DefaultSettingsDecryptionRequest(Settings settings) {
            setServers(settings.getServers());
            setProxies(settings.getProxies());
        }
    
        /**
         * Creates a new request to decrypt the specified server.
         *
         * @param server The server to decrypt, must not be {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java

            shallowMergeById(dominant.getMirrors(), recessive.getMirrors(), recessiveSourceLevel);
            shallowMergeById(dominant.getServers(), recessive.getServers(), recessiveSourceLevel);
            shallowMergeById(dominant.getProxies(), recessive.getProxies(), recessiveSourceLevel);
            shallowMergeById(dominant.getProfiles(), recessive.getProfiles(), recessiveSourceLevel);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. 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)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionRequest.java

         *
         * @return The proxies to decrypt, never {@code null}.
         */
        List<Proxy> getProxies();
    
        /**
         * Sets the proxies whose passwords should be decrypted.
         *
         * @param proxies The proxies to decrypt, may be {@code null}.
         * @return This request, never {@code null}.
         */
        SettingsDecryptionRequest setProxies(List<Proxy> proxies);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            request.setServers(session.getRequest().getServers());
            request.setMirrors(session.getRequest().getMirrors());
            request.setProxies(session.getRequest().getProxies());
    
            for (MavenProject project : projects) {
                request.setArtifact(new ProjectArtifact(project));
                request.setArtifactDependencies(project.getDependencyArtifacts());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. 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)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

                mirrors = new ArrayList<>();
            }
    
            return mirrors;
        }
    
        public ArtifactResolutionRequest setProxies(List<Proxy> proxies) {
            this.proxies = proxies;
    
            return this;
        }
    
        public List<Proxy> getProxies() {
            if (proxies == null) {
                proxies = new ArrayList<>();
            }
    
            return proxies;
        }
    
        //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. 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)
Back to top