Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 439 for url (1.9 sec)

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

        }
    
        @Test
        @DisplayName("openConnection creates SmbFile for valid URL")
        void testOpenConnectionWithValidUrl() throws IOException {
            // 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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

        /**
         * Sets the HTTP method for the URL queue.
         *
         * @param method the HTTP method to be set (e.g., GET, POST, etc.)
         */
        void setMethod(String method);
    
        /**
         * Retrieves the URL from the queue.
         *
         * @return the URL as a String.
         */
        String getUrl();
    
        /**
         * Sets the URL for this UrlQueue.
         *
         * @param url the URL to be set
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlQueueService.java

        /**
         * Adds a URL to the queue.
         *
         * @param sessionId The session ID.
         * @param url The URL.
         */
        void add(String sessionId, String url);
    
        /**
         * Inserts a URL queue.
         *
         * @param urlQueue The URL queue.
         */
        void insert(QUEUE urlQueue);
    
        /**
         * Deletes a URL queue.
         *
         * @param sessionId The session ID.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/jar/JarFileUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testRelativePath() throws Exception {
            final File f = new File("/Program Files/foo.jar");
            URL url = new URL("jar:" + f.toURI().toURL() + "!/foo/bar/");
            url = new URL(url, "..");
            System.out.println(url.toExternalForm());
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

        protected String sessionId;
    
        /** The HTTP method used for the URL in the queue. */
        protected String method;
    
        /** The URL from the queue. */
        protected String url;
    
        /** The metadata associated with the URL queue. */
        protected String metaData;
    
        /** The encoding of the URL queue. */
        protected String encoding;
    
        /** The parent URL of the current URL in the queue. */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

                // Parse only URL
                String[] args = { "smb://server/share/test.txt" };
                for (int ai = 0; ai < args.length; ai++) {
                    if (!args[ai].startsWith("-")) {
                        t.url = args[ai];
                    }
                }
    
                assertEquals("smb://server/share/test.txt", t.url, "URL should be parsed");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            return url.startsWith("file:") || url.startsWith("smb:") || url.startsWith("smb1:") || url.startsWith("ftp:")
                    || url.startsWith("storage:") || url.startsWith("s3:") || url.startsWith("gcs:");
        }
    
        /**
         * Checks if the given URL should skip URL decoding when extracting file names.
         * Some protocols (like SMB, FTP, S3, GCS) should preserve the original URL encoding.
         *
    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. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                url = url.substring(0, idx);
            }
    
            url = url.replace("/./", "/");
    
            idx = url.indexOf(";jsessionid");
            if (idx >= 0) {
                url = url.replaceFirst(";jsessionid=[a-zA-Z0-9\\.]*", "");
            }
    
            if (url.indexOf(' ') >= 0) {
                url = url.replace(" ", "%20");
            }
    
            String oldUrl = null;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ResourceUtil.java

        /**
         * Converts the resource URL to an external form.
         *
         * @param url
         *            The resource URL. Must not be {@literal null}.
         * @return The external form.
         */
        public static String toExternalForm(final URL url) {
            assertArgumentNotNull("url", url);
    
            final String s = url.toExternalForm();
            return URLUtil.decode(s, "UTF8");
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

         * Checks if a URL exists in the queue by searching OpenSearch and local caches.
         *
         * @param sessionId The session ID.
         * @param url The URL to check.
         * @return true if the URL exists in the queue, false otherwise.
         */
        @Override
        protected boolean exists(final String sessionId, final String url) {
            final boolean ret = super.exists(sessionId, url);
            if (!ret) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 16.9K bytes
    - Viewed (1)
Back to top