- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for proxyb (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt
) } @Test @Throws(IOException::class) fun successfulHttpProxyConnect() { server!!.enqueue(MockResponse()) val proxy = server!!.proxyAddress client = client .newBuilder() .proxy(proxy) .build() val call = client.newCall( Request .Builder() .url("http://www.fakeurl") .build(),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 9.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
// If we used the ProxySelector, and got a IOException during connect, report the failure. if (route.address.proxy == null && route.proxy.type() != Proxy.Type.DIRECT) { route.address.proxySelector.connectFailed( route.address.url.toUri(), route.proxy.address(), e, ) } user.connectFailed(route, null, e)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt
} @AfterEach fun tearDown() { socksProxy.shutdown() } @Test fun proxy() { server.enqueue(MockResponse.Builder().body("abc").build()) server.enqueue(MockResponse.Builder().body("def").build()) val client = clientTestRule .newClientBuilder() .proxy(socksProxy.proxy()) .build() val request1 = Request.Builder().url(server.url("/")).build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt
var client = OkHttpClient.Builder().build() assertThat(client.proxy).isNull() assertThat(client.proxySelector) .isNotInstanceOf(NullProxySelector::class.java) client = OkHttpClient .Builder() .proxy(Proxy.NO_PROXY) .build() assertThat(client.proxy).isSameAs(Proxy.NO_PROXY) assertThat(client.proxySelector)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 13.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/DummyProxy.java
import java.io.Serializable; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.Set; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Generates a dummy interface proxy that simply returns a dummy value for each method. * * @author Ben Yu */ @GwtIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
assertNull(request.proxy()); assertNull(request.body()); } @Test public void testProxyMethod() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); Proxy proxy = Proxy.NO_PROXY; CurlRequest result = request.proxy(proxy); assertSame(request, result); // Fluent API assertSame(proxy, request.proxy()); } @Test
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
private final CountDownLatch returned = new CountDownLatch(1); private Object proxy; @SuppressWarnings("unchecked") // proxy for a generic class <V> Callable<V> waitFor(Callable<V> callable) { return waitFor(callable, Callable.class); } @SuppressWarnings("unchecked") // proxy for a generic class <V> ClosingCallable<V> waitFor(ClosingCallable<V> closingCallable) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 75.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
fun proxyMoveTest(cleanClose: Boolean) { // Define a single Proxy at myproxy:8008 that will artificially move during the test val proxySelector = RecordingProxySelector() val socketAddress = InetSocketAddress.createUnresolved("myproxy", 8008) proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, socketAddress)) // Define two host names for the DNS routing of fake proxy servers
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 11.7K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
* header to create the request URL. * * For HTTP proxy requests this will be either an absolute-form string like * `http://example.com/index.html` (HTTP proxy) or an authority-form string like * `example.com:443` (HTTPS proxy). * * For OPTIONS requests, this may be an asterisk, `*`. */ public val target: String,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 3.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
proxy: Proxy, ) = TODO() override fun secureConnectStart(call: Call) = TODO() override fun secureConnectEnd( call: Call, handshake: Handshake?, ) = TODO() override fun connectEnd( call: Call, inetSocketAddress: InetSocketAddress, proxy: Proxy, protocol: Protocol?,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0)