Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for openConnections (0.08 sec)

  1. src/main/java/jcifs/smb1/http/Handler.java

            return DEFAULT_HTTP_PORT;
        }
    
        @Override
        protected URLConnection openConnection(URL url) throws IOException {
            url = new URL(url, url.toExternalForm(), getDefaultStreamHandler(url.getProtocol()));
            return new NtlmHttpURLConnection((HttpURLConnection) url.openConnection());
        }
    
        private static URLStreamHandler getDefaultStreamHandler(final String protocol) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. 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)
  3. mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt

                rule.server
                  .url("/")
                  .toUrl()
                  .openConnection()
                  .connect()
              }
            },
            Description.EMPTY,
          )
        statement.evaluate()
        assertThat(called.get()).isTrue()
        try {
          rule.server
            .url("/")
            .toUrl()
            .openConnection()
            .connect()
          fail()
        } catch (expected: ConnectException) {
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/test/net/protocol/xxx4/Handler.java

    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
            return null;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 951 bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/test/net/protocol/xxx2/Handler.java

    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        public static final String PROTOCOL_TYPE = "file";
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
            return null;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1007 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/net/URLUtil.java

         * @return A {@link URLConnection} object to the URL.
         */
        public static URLConnection openConnection(final URL url) {
            assertArgumentNotNull("url", url);
    
            try {
                final URLConnection connection = url.openConnection();
                connection.setUseCaches(false);
                return connection;
            } catch (final IOException e) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java

                    setURL(u, "zip", null, 0, null, null, spec.substring(4), null, null);
                }
    
                @Override
                protected URLConnection openConnection(final URL u) throws IOException {
                    return null;
                }
            });
            final String root = new File("/").getCanonicalPath();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/test/net/protocol/xxx1/Handler.java

    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        public static final String PROTOCOL_TYPE = "web";
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
            return null;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1006 bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/Handler.java

            return DEFAULT_HTTP_PORT;
        }
    
        @Override
        protected URLConnection openConnection(URL url) throws IOException {
            url = new URL(url, url.toExternalForm(), getDefaultStreamHandler(url.getProtocol()));
            return new NtlmHttpURLConnection((HttpURLConnection) url.openConnection(), this.transportContext);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/test/net/protocol/xxx3/Handler.java

    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        public static final String PROTOCOL_TYPE = "test";
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
            return null;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1007 bytes
    - Viewed (0)
Back to top