Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 39 for conn (0.01 seconds)

  1. src/test/java/jcifs/smb/HandlerTest.java

            URL url = new URL(null, "smb://example-host/share/", new Handler());
    
            // Act
            URLConnection conn = handler.openConnection(url);
    
            // Assert
            assertNotNull(conn);
            assertTrue(conn instanceof SmbFile, "Connection should be an instance of SmbFile");
            SmbFile file = (SmbFile) conn;
            assertEquals(url, file.getURL(), "Returned SmbFile should wrap the given URL");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. src/main/java/jcifs/smb/SmbTreeConnectionTrace.java

     *
     */
    class SmbTreeConnectionTrace extends SmbTreeConnection {
    
        SmbTreeConnectionTrace(final CIFSContext ctx) {
            super(ctx);
        }
    
        SmbTreeConnectionTrace(final SmbTreeConnection conn) {
            super(conn);
        }
    
        @Override
        protected void finalize() throws Throwable {
            checkRelease();
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            // Arrange - Create URL with handler
            URL url = new URL(null, "smb://host/share", handler);
    
            // Act
            URLConnection conn = handler.openConnection(url);
    
            // Assert
            assertNotNull(conn);
            assertTrue(conn instanceof SmbFile);
        }
    
        @Test
        @DisplayName("openConnection throws NPE for null URL")
        void testOpenConnectionWithNullUrl() {
            // Act & Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. apache-maven/src/assembly/maven/bin/m2.conf

    # under the License.
    
    set maven.mainClass default org.apache.maven.cling.MavenCling
    
    main is ${maven.mainClass} from plexus.core
    
    set maven.conf default ${maven.home}/conf
    set maven.installation.conf default ${maven.conf}
    
    [plexus.core]
    load       ${maven.conf}/logging
    optionally ${maven.home}/lib/ext/redisson/*.jar
    optionally ${maven.home}/lib/ext/hazelcast/*.jar
    optionally ${user.home}/.m2/ext/*.jar
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jul 28 07:45:35 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top