- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 80 for conn (0.02 seconds)
-
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
path: String, responseCode: AtomicInteger, ): Thread = Thread { val url = mockWebServer.url(path).toUrl() val conn: HttpURLConnection try { conn = url.openConnection() as HttpURLConnection responseCode.set(conn.responseCode) // Force the connection to hit the "server". } catch (ignored: IOException) { } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.2K bytes - Click Count (1) -
src/main/java/org/codelibs/core/net/JarURLConnectionUtil.java
* * @param conn * {@link JarURLConnection}. Must not be {@literal null}. * @return {@link JarFile} */ public static JarFile getJarFile(final JarURLConnection conn) { assertArgumentNotNull("conn", conn); try { return conn.getJarFile(); } catch (final IOException e) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); // Multiple onConnect calls should work (last one wins) request.onConnect((req, conn) -> conn.setConnectTimeout(1000)); request.onConnect((req, conn) -> conn.setReadTimeout(2000)); assertNotNull(request); } @Test public void testSslSocketFactoryWithNull() {
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 24.7K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
req.start() return completableFuture } @Test fun urlConnection() { val conn = engine.openConnection(URL("https://google.com/robots.txt")) as HttpURLConnection val text = conn.inputStream.use { it.bufferedReader().readText() } assertEquals(200, conn.responseCode) assertTrue(text.contains("Disallow")) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.3K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
return mock; }); req.timeout(3000, 5000); // onConnect runs AFTER timeout, so it can override req.onConnect((r, conn) -> { conn.setReadTimeout(9999); onConnectReadTimeout.set(conn.getReadTimeout()); }); // ## Act ## try (CurlResponse response = req.execute()) { // ## Assert ##Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
docs/features/connections.md
* They don't specify whether a specific proxy server should be used or how to authenticate with that proxy server.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 5.4K bytes - Click Count (0) -
okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list
com.ws com.ye com.zm commbank commune.am community community-pro.de community-pro.net como.it company compare computer comsec condos conf.au conf.lv conf.se conference.aero conn.uk construction consulado.st consultant.aero consulting consulting.aero contact contagem.br contractors control.aero convex.site cooking cool
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 22:00:49 GMT 2025 - 129.6K bytes - Click Count (3) -
src/packaging/common/systemd/fess.conf
Kaoru FUZITA <******@****.***> 1449710642 +0900
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 10 01:24:02 GMT 2015 - 89 bytes - Click Count (0) -
src/packaging/common/systemd/sysctl/fess.conf
Kaoru FUZITA <******@****.***> 1449710642 +0900
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 10 01:24:02 GMT 2015 - 47 bytes - Click Count (0) -
okhttp/src/androidMain/assets/PublicSuffixDatabase.list
com.ws com.ye com.zm commbank commune.am community community-pro.de community-pro.net como.it company compare computer comsec condos conf.au conf.lv conf.se conference.aero conn.uk construction consulado.st consultant.aero consulting consulting.aero contact contagem.br contractors control.aero convex.site cooking cool
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Dec 31 14:50:53 GMT 2024 - 129.6K bytes - Click Count (2)