Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getFullUNCPath (0.29 sec)

  1. src/test/java/jcifs/internal/RequestWithPathTest.java

        }
    
        @Test
        @DisplayName("Test getFullUNCPath returns complete UNC path")
        void testGetFullUNCPath() {
            // Test with mock
            String expectedUNCPath = "\\\\server\\share\\folder\\file.txt";
            when(requestWithPath.getFullUNCPath()).thenReturn(expectedUNCPath);
    
            assertEquals(expectedUNCPath, requestWithPath.getFullUNCPath());
            verify(requestWithPath, times(1)).getFullUNCPath();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

                        if (log.isDebugEnabled()) {
                            log.debug(String.format("Setting DFS request path from %s to %s", preq.getPath(), preq.getFullUNCPath()));
                        }
                        preq.setResolveInDfs(true);
                        preq.setPath(preq.getFullUNCPath());
                    }
                }
    
                try {
                    return sess.send(request, response, params);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        @Override
        public String getPath() {
            return '\\' + this.name;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.RequestWithPath#getFullUNCPath()
         */
        @Override
        public String getFullUNCPath() {
            return this.fullName;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.RequestWithPath#getServer()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

            final RequestWithPath rpath = request instanceof RequestWithPath r ? r : null;
            final String savedPath = rpath != null ? rpath.getPath() : null;
            final String savedFullPath = rpath != null ? rpath.getFullUNCPath() : null;
    
            final String fullPath = "\\" + loc.getServer() + "\\" + loc.getShare() + loc.getUNCPath();
            final int maxRetries = this.ctx.getConfig().getMaxRequestRetries();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        }
    
        @Test
        @DisplayName("Test setFullUNCPath and related getters")
        void testFullUNCPath() {
            request = new Smb2CreateRequest(mockConfig, "test\\file.txt");
    
            assertNull(request.getFullUNCPath());
            assertNull(request.getServer());
            assertNull(request.getDomain());
    
            request.setFullUNCPath("DOMAIN", "SERVER", "\\\\SERVER\\share\\file.txt");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertEquals("DOMAIN", testBlock.getDomain());
                assertEquals("SERVER", testBlock.getServer());
                assertEquals("\\\\server\\share\\path", testBlock.getFullUNCPath());
            }
    
            @Test
            @DisplayName("Test TID property")
            void testTidProperty() {
                assertEquals(0xFFFF, testBlock.getTid());
                testBlock.setTid(0x1234);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        @Override
        public final String getPath() {
            return this.path;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.RequestWithPath#getFullUNCPath()
         */
        @Override
        public String getFullUNCPath() {
            return this.fullPath;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.RequestWithPath#getDomain()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top