Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 57 for setServer (0.04 sec)

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

            public void testGetServer() throws MalformedURLException {
                assertEquals("server", new SmbFile("smb1://server/share/file.txt").getServer());
                assertEquals("server", new SmbFile("smb1://server/").getServer());
                assertEquals(null, new SmbFile("smb1://").getServer());
            }
        }
    
        @Nested
        class AttributeAndStateTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                    ctx);
        }
    
        static FileEntry[] doDfsRootEnum(final CIFSContext ctx, final SmbResourceLocator loc, final Address address) throws IOException {
            try (DcerpcHandle handle = getHandle(ctx, loc, address, "\\PIPE\\netdfs")) {
                final MsrpcDfsRootEnum rpc = new MsrpcDfsRootEnum(loc.getServer());
                handle.sendrecv(rpc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

                    IOException e = null;
                    do {
                        if (dr.getServer() != null && !dr.getServer().isEmpty()) {
                            try {
                                final SmbTransportImpl transport = tf.getTransportPool()
                                        .getSmbTransport(tf, dr.getServer(), 0, false,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  4. mockwebserver-junit4/api/mockwebserver3-junit4.api

    public final class mockwebserver3/junit4/MockWebServerRule : org/junit/rules/ExternalResource {
    	public fun <init> ()V
    	public final fun getServer ()Lmockwebserver3/MockWebServer;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 16 22:36:18 UTC 2025
    - 183 bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                this.server = "test_server";
                this.serverWithDfs = "test_server_dfs";
                this.sessionKey = new byte[] { 1, 2, 3, 4 };
            }
    
            @Override
            public String getServer() {
                return server;
            }
    
            @Override
            public String getServerWithDfs() {
                return serverWithDfs;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/RequestWithPath.java

         *
         * @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
         */
        String getDomain();
    
        /**
         * Gets the full UNC path.
         *
         * @return the full UNC path
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/DfsReferralData.java

         */
        <T extends DfsReferralData> T unwrap(Class<T> type);
    
        /**
         * Get the server this referral points to
         *
         * @return the server this referral points to
         */
        String getServer();
    
        /**
         * Get the domain this referral is for
         *
         * @return the domain this referral is for
         */
        String getDomain();
    
        /**
         * Get the share this referral points to
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

        }
    
        /**
         * Gets the server hostname or address
         * @return the server name
         */
        public String getServer() {
            if (this instanceof DcerpcPipeHandle) {
                return ((DcerpcPipeHandle) this).pipe.getServer();
            }
            return null;
        }
    
        /**
         * Gets the principal associated with this handle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcBinding.java

         */
        public Map<String, Object> getOptions() {
            return this.options;
        }
    
        /**
         * Get the server for this binding.
         * @return the server
         */
        public String getServer() {
            return this.server;
        }
    
        /**
         * Get the endpoint for this binding.
         * @return the endpoint
         */
        public String getEndpoint() {
            return this.endpoint;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertNull(request.getFullUNCPath());
            assertNull(request.getServer());
            assertNull(request.getDomain());
    
            request.setFullUNCPath("DOMAIN", "SERVER", "\\\\SERVER\\share\\file.txt");
    
            assertEquals("DOMAIN", request.getDomain());
            assertEquals("SERVER", request.getServer());
            assertEquals("\\\\SERVER\\share\\file.txt", request.getFullUNCPath());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top