- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for getProxy (0.07 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
p.setPassword(proxy.getPassword()); repository.setProxy(p); } else { repository.setProxy(null); } } } } private Proxy getProxy(RepositorySystemSession session, ArtifactRepository repository) { if (session != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java
repository.setProxy(getProxy(selector, repository)); } } } private org.apache.maven.repository.Proxy getProxy(ProxySelector selector, ArtifactRepository repository) { if (selector != null) { RemoteRepository repo = RepositoryUtils.toRepo(repository); org.eclipse.aether.repository.Proxy proxy = selector.getProxy(repo); if (proxy != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
proxyInfo.setHost(repository.getProxy().getHost()); proxyInfo.setType(repository.getProxy().getProtocol()); proxyInfo.setPort(repository.getProxy().getPort()); proxyInfo.setNonProxyHosts(repository.getProxy().getNonProxyHosts()); proxyInfo.setUserName(repository.getProxy().getUserName()); proxyInfo.setPassword(repository.getProxy().getPassword()); return proxyInfo; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/WagonManager.java
* * @param id an id * @return corresponding authentication info */ AuthenticationInfo getAuthenticationInfo(String id); ProxyInfo getProxy(String protocol); void getArtifact(Artifact artifact, ArtifactRepository repository) throws TransferFailedException, ResourceDoesNotExistException;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java
return servers.isEmpty() ? null : servers.get(0); } @Override public List<Server> getServers() { return servers; } @Override public Proxy getProxy() { return proxies.isEmpty() ? null : proxies.get(0); } @Override public List<Proxy> getProxies() { return proxies; } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java
/** * Gets the decrypted proxy. This is a convenience method to retrieve the first element from {@link #getProxies()}. * * @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) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java
} } } } } // empty one to prevent NPE return new AuthenticationInfo(); } public ProxyInfo getProxy(String protocol) { MavenSession session = legacySupport.getSession(); if (session != null && protocol != null) { MavenExecutionRequest request = session.getRequest();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java
RemoteRepository.Builder builder = new RemoteRepository.Builder(remoteRepo); builder.setAuthentication(session.getAuthenticationSelector().getAuthentication(remoteRepo)); builder.setProxy(session.getProxySelector().getProxy(remoteRepo)); remoteRepo = builder.build(); } request.setRepository(remoteRepo); DeployResult result; try {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
} } private Proxy getProxy(RepositorySystemSession session, ArtifactRepository repository) { if (session != null) { ProxySelector selector = session.getProxySelector(); if (selector != null) { RemoteRepository repo = RepositoryUtils.toRepo(repository); org.eclipse.aether.repository.Proxy proxy = selector.getProxy(repo); if (proxy != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 32.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java
} public void setAuthentication(Authentication authentication) { this.authentication = authentication; } public Proxy getProxy() { return proxy; } public void setProxy(Proxy proxy) { this.proxy = proxy; } public boolean isUniqueVersion() { return true; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0)