Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for setFullUNCPath (0.05 sec)

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

            doNothing().when(requestWithPath).setFullUNCPath(domain, server, fullPath);
            requestWithPath.setFullUNCPath(domain, server, fullPath);
    
            verify(requestWithPath, times(1)).setFullUNCPath(domain, server, fullPath);
    
            // Test with implementation
            testImplementation.setFullUNCPath(domain, server, fullPath);
            assertEquals(domain, testImplementation.getDomain());
    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/internal/RequestWithPath.java

        /**
         * Sets the full UNC path components.
         *
         * @param domain the domain name
         * @param server the server name
         * @param fullPath the full UNC path
         */
        void setFullUNCPath(String domain, String server, String fullPath);
    
        /**
         * Sets whether to resolve this request path in DFS.
         *
         * @param resolve true to enable DFS resolution
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

            final int maxRetries = this.ctx.getConfig().getMaxRequestRetries();
            for (int retries = 1; retries <= maxRetries; retries++) {
    
                if (rpath != null) {
                    rpath.setFullUNCPath(null, null, fullPath);
                }
    
                try {
                    return send0(loc, request, response, params);
                } catch (final SmbException smbe) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  4. 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)
  5. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertEquals("\\new\\path", testBlock.getPath());
            }
    
            @Test
            @DisplayName("Test full UNC path properties")
            void testFullUNCPathProperties() {
                testBlock.setFullUNCPath("DOMAIN", "SERVER", "\\\\server\\share\\path");
    
                assertEquals("DOMAIN", testBlock.getDomain());
                assertEquals("SERVER", testBlock.getServer());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        @Override
        public String getDomain() {
            return this.domain;
        }
    
        /**
         * @param fullName
         *            the fullName to set
         */
        @Override
        public void setFullUNCPath(final String domain, final String server, final String fullName) {
            this.domain = domain;
            this.server = server;
            this.fullName = fullName;
        }
    
        /**
         * {@inheritDoc}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            return this.server;
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.internal.RequestWithPath#setFullUNCPath(java.lang.String, java.lang.String, java.lang.String)
         */
        @Override
        public void setFullUNCPath(final String domain, final String server, final String fullPath) {
            this.domain = domain;
            this.server = server;
            this.fullPath = fullPath;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

                        request.setDigest(getDigest());
                    }
    
                    if (request instanceof RequestWithPath rpath) {
                        ((RequestWithPath) request).setFullUNCPath(getTargetDomain(), getTargetHost(), rpath.getFullUNCPath());
                    }
    
                    try {
                        if (log.isTraceEnabled()) {
                            log.trace("Request " + request);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top