- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for conn (0.02 sec)
-
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) { } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.2K bytes - Viewed (0) -
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) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.6K bytes - Viewed (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")) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
} @Test public void testOnConnectMethod() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); CurlRequest result = request.onConnect((req, conn) -> { conn.setConnectTimeout(5000); }); assertSame(request, result); // Fluent API } @Test public void testParamMethod() {
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (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
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 129.6K bytes - Viewed (3) -
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
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Dec 31 14:50:53 UTC 2024 - 129.6K bytes - Viewed (2) -
src/test/java/org/codelibs/core/io/ClassTraversalTest.java
final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class"; final URL classURL = ResourceUtil.getResource(classFilePath); final JarURLConnection con = (JarURLConnection) classURL.openConnection(); ClassTraversalUtil.forEach(con.getJarFile(), (ClassHandler) (packageName, shortClassName) -> { if (count < 10) { System.out.println(ClassUtil.concatName(packageName, shortClassName));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
public void test_getConfPath() { Path confPath = ResourceUtil.getConfPath("test.conf"); assertNotNull(confPath); // Test with empty names confPath = ResourceUtil.getConfPath(); assertNotNull(confPath); // Test with multiple names confPath = ResourceUtil.getConfPath("dir1", "dir2", "file.conf"); assertNotNull(confPath);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
} /** * Gets the path to configuration files. In Docker environments, checks /opt/fess first, * then falls back to system property FESS_CONF_PATH, and finally to WEB-INF/conf. * * @param names the path components to append to the configuration directory * @return the Path object pointing to the configuration file or directory */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceTraversalTest.java
final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class"; final URL classURL = ResourceUtil.getResource(classFilePath); final JarURLConnection con = (JarURLConnection) classURL.openConnection(); ResourceTraversalUtil.forEach(con.getJarFile(), (ResourceHandler) (path, is) -> { try { if (count < 10) { System.out.println(path); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6K bytes - Viewed (0)