Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for openConnection (0.15 sec)

  1. 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: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

         *
         * @param u The URL to open a connection to
         * @return A new GcsURLConnection instance
         * @throws IOException If the connection cannot be opened
         */
        @Override
        protected URLConnection openConnection(final URL u) throws IOException {
            return new GcsURLConnection(u);
        }
    
        /**
         * GcsURLConnection is a URL connection implementation for accessing GCS objects.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

         *
         * @param u The URL to open a connection to
         * @return A new S3URLConnection instance
         * @throws IOException If the connection cannot be opened
         */
        @Override
        protected URLConnection openConnection(final URL u) throws IOException {
            return new S3URLConnection(u);
        }
    
        /**
         * S3URLConnection is a URL connection implementation for accessing S3 objects.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:52:56 UTC 2025
    - 11.1K 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 Dec 26 11:42:13 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(resourceUri.getScheme())) {
                        final JarURLConnection jarURLConnection = (JarURLConnection) resource.openConnection();
                        try (JarFile jarFile = jarURLConnection.getJarFile()) {
                            final Enumeration<JarEntry> entries = jarFile.entries();
                            while (entries.hasMoreElements()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 12.4K bytes
    - Viewed (1)
  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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top