Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setInfoType (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

         */
        public final void setInfoType(final byte infoType) {
            this.infoType = infoType;
        }
    
        /**
         * Sets the file information class for the query
         *
         * @param fileInfoClass
         *            the fileInfoClass to set
         */
        public final void setFileInfoClass(final byte fileInfoClass) {
            setInfoType(Smb2Constants.SMB2_0_INFO_FILE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Test setInfoType method")
        void testSetInfoType() {
            request = new Smb2QueryInfoRequest(mockConfig);
            byte testInfoType = (byte) 0x01;
    
            request.setInfoType(testInfoType);
    
            // Verify info type was set
            Field infoTypeField;
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Test setInfoType method")
        void testSetInfoType() {
            request = new Smb2SetInfoRequest(mockConfig);
            byte testInfoType = (byte) 0x01;
    
            request.setInfoType(testInfoType);
    
            // Verify info type was set
            Field infoTypeField;
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java

            this.fileId = fileId;
        }
    
        /**
         * Sets the information type for the set info operation
         *
         * @param infoType
         *            the infoType to set
         */
        public void setInfoType(final byte infoType) {
            this.infoType = infoType;
        }
    
        /**
         * Sets the file information class for the set info operation
         *
         * @param fileInfoClass
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

            if (th.isSMB2()) {
                final Smb2QueryInfoRequest req = new Smb2QueryInfoRequest(th.getConfig());
                req.setInfoType(Smb2Constants.SMB2_0_INFO_SECURITY);
                req.setAdditionalInformation(types);
                final Smb2QueryInfoResponse resp =
    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