Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for getRpath (0.05 sec)

  1. src/test/java/jcifs/internal/dfs/ReferralTest.java

            // First verify the referral was parsed correctly
            assertNotNull(referral.getRpath());
            assertNotNull(referral.getAltPath());
            assertNotNull(referral.getNode());
            assertEquals("\\\\server\\\\share", referral.getRpath());
            assertEquals("\\\\alt\\\\path", referral.getAltPath());
            assertEquals("NODE01", referral.getNode());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/Referral.java

         */
        public final int getTtl() {
            return this.ttl;
        }
    
        /**
         * Gets the referral path.
         *
         * @return the rpath
         */
        public final String getRpath() {
            return this.rpath;
        }
    
        /**
         * Gets the node name for this referral.
         *
         * @return the node
         */
        public final String getNode() {
            return this.node;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/RequestWithPathTest.java

            assertEquals(expectedPath, testImplementation.getPath());
        }
    
        @Test
        @DisplayName("Test setPath updates path correctly")
        void testSetPath() {
            // Test with mock
            String newPath = "/new/path/file.txt";
            doNothing().when(requestWithPath).setPath(newPath);
    
            requestWithPath.setPath(newPath);
            verify(requestWithPath, times(1)).setPath(newPath);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            // Test path with both leading and trailing backslash
            request.setPath("\\test\\directory\\");
            assertEquals("\\test\\directory", request.getPath());
    
            // Test single backslash
            request.setPath("\\");
            assertEquals("\\", request.getPath());
    
            // Test empty path
            request.setPath("");
            assertEquals("\\", request.getPath());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/RequestWithPath.java

     */
    public interface RequestWithPath extends CommonServerMessageBlock {
    
        /**
         * Gets the path to the resource.
         *
         * @return the path to the resource (below share)
         */
        String getPath();
    
        /**
         * Gets the server name.
         *
         * @return the server name
         */
        String getServer();
    
        /**
         * Gets the domain name.
         *
         * @return the domain name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. docs/smb3-features/02-persistent-handles-design.md

            this.maxRetries = 3;
            this.retryDelay = 1000;  // 1 second
        }
        
        public CompletableFuture<SmbFile> reconnectHandle(SmbFile file, Exception cause) {
            String path = file.getPath();
            HandleInfo info = handleManager.getHandleForReconnect(path);
            
            if (info == null) {
                return CompletableFuture.failedFuture(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeConnection.java

            CIFSException last = null;
            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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            super(config, SMB2_CREATE);
            setPath(name);
        }
    
        @Override
        protected Smb2CreateResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2CreateResponse> req) {
            return new Smb2CreateResponse(tc.getConfig(), this.name);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.RequestWithPath#getPath()
         */
        @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)
  9. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
    
            @Test
            @DisplayName("Test path property")
            void testPathProperty() {
                testBlock.setPath("\\new\\path");
                assertEquals("\\new\\path", testBlock.getPath());
            }
    
            @Test
            @DisplayName("Test full UNC path properties")
            void testFullUNCPathProperties() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeImpl.java

                     */
                    if (preq.getPath() != null && preq.getPath().length() > 0) {
                        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());
                    }
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
Back to top