- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 34 for proxySelector (0.1 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt
@JvmName("-deprecated_proxySelector") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "proxySelector"), level = DeprecationLevel.ERROR, ) fun proxySelector(): ProxySelector = proxySelector @JvmName("-deprecated_proxy") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "proxy"),Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.3K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
proxy = proxy, protocols = protocols, connectionSpecs = connectionSpecs, proxySelector = proxySelector, ) fun newHttpsAddress( uriHost: String = this.uriHost, uriPort: Int = this.uriPort, proxy: Proxy? = null, proxySelector: ProxySelector = this.proxySelector, sslSocketFactory: SSLSocketFactory? = this.sslSocketFactory,Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 6.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
dns.assertRequests(uriHost) proxySelector.assertRequests(address.url.toUri()) } @Test fun proxySelectorReturnsMultipleProxies() { val address = factory.newAddress() proxySelector.proxies.add(proxyA) proxySelector.proxies.add(proxyB) val routeSelector = newRouteSelector(address) proxySelector.assertRequests(address.url.toUri())
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 20.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt
@Test fun connectExceptionsAreReturnedAsSuppressed() { val proxySelector = RecordingProxySelector() proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, TestUtil.UNREACHABLE_ADDRESS_IPV4)) proxySelector.proxies.add(Proxy.NO_PROXY) server.close() client = client .newBuilder() .proxySelector(proxySelector) .readTimeout(Duration.ofMillis(100))
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 8.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java
Map<String, Object> configProperties, MirrorSelector mirrorSelector, ProxySelector proxySelector, AuthenticationSelector authenticationSelector) { injectMirror(mavenExecutionRequest.getRemoteRepositories(), mavenExecutionRequest.getMirrors()); injectProxy(proxySelector, mavenExecutionRequest.getRemoteRepositories());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt
.Builder() .proxySelector(FakeProxySelector()) .build() assertThat(client.proxy).isNull() assertThat(client.proxySelector) .isInstanceOf(FakeProxySelector::class.java) } @Test fun sharesRouteDatabase() { val client = OkHttpClient .Builder() .build() val proxySelector: ProxySelector = object : ProxySelector() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 13.4K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt
// The HTTP calls should share a single connection. assertThat(socksProxy.connectionCount()).isEqualTo(1) } @Test fun proxySelector() { server.enqueue(MockResponse.Builder().body("abc").build()) val proxySelector: ProxySelector = object : ProxySelector() { override fun select(uri: URI) = listOf(socksProxy.proxy()) override fun connectFailed( uri: URI,Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/AddressTest.kt
val a = factory.newAddress(proxySelector = RecordingProxySelector()) val b = factory.newAddress(proxySelector = RecordingProxySelector()) assertThat(b).isNotEqualTo(a) } @Test fun addressToString() { val address = factory.newAddress() assertThat(address.toString()) .isEqualTo("Address{example.com:80, proxySelector=RecordingProxySelector}") }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 51.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/RepositorySystemSessionExtender.java
import org.eclipse.aether.repository.ProxySelector; /** * Strictly internal component able to "extend" session in some way. * * @since 4.0.0 */ interface RepositorySystemSessionExtender { void extend( MavenExecutionRequest mavenExecutionRequest, Map<String, Object> configProperties, MirrorSelector mirrorSelector, ProxySelector proxySelector,
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.5K bytes - Click Count (0)