Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for openConnection (0.6 sec)

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

         */
        public Handler() {
        }
    
        @Override
        protected int getDefaultPort() {
            return SmbConstants.DEFAULT_PORT;
        }
    
        @Override
        public URLConnection openConnection(final URL u) throws IOException {
            return new SmbFile(u);
        }
    
        @Override
        protected void parseURL(final URL u, String spec, final int start, int limit) {
            final String host = u.getHost();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

         *
         * @param u The URL to open a connection to
         * @return A new StorageURLConnection instance
         * @throws IOException If the connection cannot be opened
         */
        @Override
        protected URLConnection openConnection(final URL u) throws IOException {
            return new StorageURLConnection(u);
        }
    
        /**
         * StorageURLConnection is a URL connection implementation for accessing storage objects.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/Handler.java

            this.transportContext = tc;
        }
    
        @Override
        protected int getDefaultPort() {
            return SmbConstants.DEFAULT_PORT;
        }
    
        @Override
        public URLConnection openConnection(final URL u) throws IOException {
            if (log.isDebugEnabled()) {
                log.debug("Opening file " + u);
            }
            return new SmbFile(u, getTransportContext());
        }
    
        /**
         * @return
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/CurlRequest.java

         */
        protected HttpURLConnection open(final URL u) throws IOException {
            final HttpURLConnection connection = (HttpURLConnection) (proxy != null ? u.openConnection(proxy) : u.openConnection());
            if (sslSocketFactory != null && connection instanceof HttpsURLConnection) {
                ((HttpsURLConnection) connection).setSSLSocketFactory(sslSocketFactory);
            }
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/jar/JarFileUtil.java

         */
        public static JarFile toJarFile(final URL jarUrl) {
            assertArgumentNotNull("jarUrl", jarUrl);
    
            final URLConnection con = URLUtil.openConnection(jarUrl);
            if (con instanceof JarURLConnection) {
                return JarURLConnectionUtil.getJarFile((JarURLConnection) con);
            }
            return create(new File(toJarFilePath(jarUrl)));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_1x.md

       the way the hostname verifier was selected.
     * Fix: Locking bug in SpdyConnection.
     * Fix: Ignore null header values (for compatibility with HttpURLConnection).
     * Add URLStreamHandlerFactory support so that `URL.openConnection()` uses
       OkHttp.
     * Expose the transport ("http/1.1", "spdy/3", etc.) via magic request headers.
       Use `X-Android-Transports` to write the preferred transports and
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                            }
                        }
                    } else if ("jar".equals(resource.getProtocol())) {
                        final JarURLConnection jarURLConnection = (JarURLConnection) resource.openConnection();
                        try (JarFile jarFile = jarURLConnection.getJarFile()) {
                            final Enumeration<JarEntry> entries = jarFile.entries();
                            while (entries.hasMoreElements()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            }
            return message;
        }
    
        private void reconnect() throws IOException {
            connection = (HttpURLConnection) connection.getURL().openConnection();
            connection.setRequestMethod(method);
            headerFields = null;
            final Iterator properties = requestProperties.entrySet().iterator();
            while (properties.hasNext()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        // Minimal URLStreamHandler to allow creating smb:// URLs in tests
        private static final URLStreamHandler SMB_HANDLER = new URLStreamHandler() {
            @Override
            protected URLConnection openConnection(URL u) {
                return null; // not used
            }
        };
    
        @BeforeEach
        void setup() {
            when(ctx.getConfig()).thenReturn(config);
            when(ctx.getCredentials()).thenReturn(creds);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                ssf = ((HttpsURLConnection) this.connection).getSSLSocketFactory();
            }
    
            this.connection = (HttpURLConnection) this.connection.getURL().openConnection();
    
            if (this.connection instanceof HttpsURLConnection) {
                if (hv != null) {
                    ((HttpsURLConnection) this.connection).setHostnameVerifier(hv);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top