- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 554 for proxies (0.05 seconds)
-
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) -
guava-testlib/src/com/google/common/testing/DummyProxy.java
* @author Ben Yu */ @GwtIncompatible @J2ktIncompatible @NullMarked abstract class DummyProxy { /** * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each * other if the {@link DummyProxy} instance that created the proxies are equal. */ final <T> T newProxy(TypeToken<T> interfaceType) { Set<Class<?>> interfaceClasses = new LinkedHashSet<>();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 22:10:29 GMT 2025 - 4.5K 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) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt
call: Call, url: HttpUrl, ) { logWithTime("proxySelectStart: $url") } override fun proxySelectEnd( call: Call, url: HttpUrl, proxies: List<Proxy>, ) { logWithTime("proxySelectEnd: $proxies") } override fun dnsStart( call: Call, domainName: String, ) { logWithTime("dnsStart: $domainName") } override fun dnsEnd( call: Call,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Oct 06 13:40:20 GMT 2025 - 5.8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt
call: Call, url: HttpUrl, ) = onEvent(ProxySelectStart(System.nanoTime(), call, url)) override fun proxySelectEnd( call: Call, url: HttpUrl, proxies: List<Proxy>, ) = onEvent(ProxySelectEnd(System.nanoTime(), call, url, proxies)) override fun dnsStart( call: Call, domainName: String, ) = onEvent(DnsStart(System.nanoTime(), call, domainName)) override fun dnsEnd( call: Call,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 7.1K 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) -
docs/en/docs/tutorial/server-sent-events.md
* Set the `Cache-Control: no-cache` header to **prevent caching** of the stream. * Set a special header `X-Accel-Buffering: no` to **prevent buffering** in some proxies like Nginx.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/DummyProxy.java
* @author Ben Yu */ @GwtIncompatible @J2ktIncompatible @NullMarked abstract class DummyProxy { /** * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each * other if the {@link DummyProxy} instance that created the proxies are equal. */ final <T> T newProxy(TypeToken<T> interfaceType) { Set<Class<?>> interfaceClasses = new LinkedHashSet<>();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 22:10:29 GMT 2025 - 4.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
* * If the proxy selector returns an empty list or null. * * Otherwise it lists the proxies in the order they will be attempted. * * @param url a URL with only the scheme, hostname, and port specified. */ open fun proxySelectEnd( call: Call, url: HttpUrl, proxies: List<@JvmSuppressWildcards Proxy>, ) { } /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:03:04 GMT 2025 - 24.9K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
call: Call, url: HttpUrl, ) { logWithTime("proxySelectStart: $url") } override fun proxySelectEnd( call: Call, url: HttpUrl, proxies: List<Proxy>, ) { logWithTime("proxySelectEnd: $proxies") } override fun dnsStart( call: Call, domainName: String, ) { logWithTime("dnsStart: $domainName") } override fun dnsEnd( call: Call,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:03:04 GMT 2025 - 5.4K bytes - Click Count (0)