- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 133 for Proxied (0.16 seconds)
-
okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt
class FakeProxySelector : ProxySelector() { val proxies: MutableList<Proxy> = mutableListOf() fun addProxy(proxy: Proxy): FakeProxySelector { proxies.add(proxy) return this } override fun select(uri: URI): List<Proxy> { // Don't handle 'socket' schemes, which the RI's Socket class may request (for SOCKS). return if (uri.scheme == "http" || uri.scheme == "https") proxies else listOf(Proxy.NO_PROXY) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
assertThat(routeSelector.hasNext()).isFalse() } @Test fun proxyDnsFailureContinuesToNextProxy() { val address = factory.newAddress() proxySelector.proxies.add(proxyA) proxySelector.proxies.add(proxyB) proxySelector.proxies.add(proxyA) val routeSelector = newRouteSelector(address) proxySelector.assertRequests(address.url.toUri()) assertThat(routeSelector.hasNext()).isTrue()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 20.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java
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; } //Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
} call.eventListener.proxySelectStart(call, url) proxies = selectProxies() nextProxyIndex = 0 call.eventListener.proxySelectEnd(call, url, proxies) } /** Returns true if there's another proxy to try. */ private fun hasNextProxy(): Boolean = nextProxyIndex < proxies.size /** Returns the next proxy to try. May be PROXY.NO_PROXY but never null. */Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 7.3K bytes - Click Count (2) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
public List<Proxy> getProxies() { if (proxies == null) { proxies = new ArrayList<>(); } return proxies; } @Override public MavenExecutionRequest setProxies(List<Proxy> proxies) { if (proxies != null) { this.proxies = new ArrayList<>(proxies); } else { this.proxies = null; } return this; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 32.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java
* with the wrong proxies. * * @param repositories The repositories into which to inject the proxy information, may be {@code null}. * @param proxies The available proxies, may be {@code null}. */ void injectProxy(List<ArtifactRepository> repositories, List<org.apache.maven.settings.Proxy> proxies); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 7.7K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java
-1, -1, e)); } } proxies.add(proxy); } return new DefaultSettingsDecryptionResult(servers, proxies, problems); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Nov 16 13:55:43 GMT 2024 - 6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt
import java.net.URI import okhttp3.internal.format class RecordingProxySelector : ProxySelector() { @JvmField val proxies = mutableListOf<Proxy>() val requestedUris = mutableListOf<URI>() val failures = mutableListOf<String>() override fun select(uri: URI): List<Proxy> { requestedUris.add(uri) return proxies } fun assertRequests(vararg expectedUris: URI?) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 10.6K bytes - Click Count (0) -
apache-maven/src/assembly/maven/conf/settings.xml
--> </pluginGroups> <!-- TODO Since when can proxies be selected as depicted? --> <!-- proxies | This is a list of proxies which can be used on this machine to connect to the network. | Unless otherwise specified (by system property or command-line switch), the first proxy | specification in this list marked as active will be used. |--> <proxies> <!-- proxy
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 22 07:44:50 GMT 2025 - 11.1K bytes - Click Count (0)