Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getCanonicalURL (0.17 sec)

  1. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        @Override
        public String getPath() {
            return this.url.toString();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getCanonicalURL()
         */
        @Override
        public String getCanonicalURL() {
            final String str = this.url.getAuthority();
            if (str != null && !str.isEmpty()) {
                return "smb://" + this.url.getAuthority() + this.getURLPath();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbResourceLocatorTest.java

            }
    
            @Override
            public String getPath() {
                return urlStr;
            }
    
            @Override
            public String getCanonicalURL() {
                return canonical;
            }
    
            @Override
            public DfsReferralData getDfsReferral() {
                return dfsReferral;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NetworkExplorerTest.java

            lenient().when(session.getAttribute(anyString())).thenReturn(null);
    
            // Setup SmbFile mock
            lenient().when(smbFile.getLocator()).thenReturn(locator);
            lenient().when(locator.getCanonicalURL()).thenReturn("smb://server/share/");
        }
    
        /**
         * Test servlet initialization with default parameters
         */
        @Test
        void testInit_DefaultConfig() throws ServletException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbResourceLocator.java

         * this method will result in an <code>SmbFile</code> that is equal to
         * the original.
         *
         * @return The canonicalized URL of this SMB resource.
         */
        String getCanonicalURL();
    
        /**
         * Returns the canonicalized UNC path of this SMB resource relative to its share.
         *
         * @return The canonicalized UNC path of this SMB resource (relative to it's share)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            Document document = getDocument(data);
            String value = transformer.getCanonicalUrl(responseData, document);
            assertNull(value);
    
            data = "<html><head><link rel=\"canonical\" href=\"http://example.com/\"></head><body>aaa</body></html>";
            document = getDocument(data);
            value = transformer.getCanonicalUrl(responseData, document);
            assertEquals("http://example.com/", value);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertEquals("/share/file", a.getURLPath());
            assertEquals("\\file", a.getUNCPath());
            assertEquals("share", a.getShare());
            assertEquals("smb://server/share/file", a.getCanonicalURL());
        }
    
        @Test
        @DisplayName("Invalid path triggers RuntimeCIFSException during canonicalize")
        void testCanonicalizeInvalidPath() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NetworkExplorer.java

            out.println("<a class=\"sort\" style=\"width: 180\" href=\"?fmt=detail&sort=date\">Modified</a><br clear='all'><p>");
    
            path = dir.getLocator().getCanonicalURL();
    
            if (path.length() < 7) {
                out.println("<b><big>smb://</big></b><br>");
                path = ".";
            } else {
                out.println("<b><big>" + path + "</big></b><br>");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

        protected Map<String, Object> processAdditionalData(final Map<String, Object> dataMap, final ResponseData responseData,
                final Document document) {
            // canonical
            final String canonicalUrl = getCanonicalUrl(responseData, document);
            if (canonicalUrl != null && !canonicalUrl.equalsIgnoreCase(responseData.getUrl()) && isValidUrl(canonicalUrl)
                    && isValidCanonicalUrl(responseData.getUrl(), canonicalUrl)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

         * Returns the Windows UNC style path with backslashes instead of forward slashes.
         *
         * @return The UNC path.
         */
        public String getCanonicalUncPath() {
            return this.fileLocator.getCanonicalURL();
        }
    
        /**
         * If the path of this <code>SmbFile</code> falls within a DFS volume,
         * this method will return the referral path to which it maps. Otherwise
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top