Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for infoType (0.9 sec)

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

            this.fileId = fileId;
        }
    
        /**
         * Sets the information type for the query
         *
         * @param infoType
         *            the infoType to set
         */
        public final void setInfoType(final byte infoType) {
            this.infoType = infoType;
        }
    
        /**
         * Sets the file information class for the query
         *
         * @param fileInfoClass
    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/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

            this.info = i;
            return bufferIndex - start;
        }
    
        private static Decodable createInformation(final byte infoType, final byte infoClass) throws SMBProtocolDecodingException {
    
            return switch (infoType) {
            case Smb2Constants.SMB2_0_INFO_FILE -> createFileInformation(infoClass);
            case Smb2Constants.SMB2_0_INFO_FILESYSTEM -> createFilesystemInformation(infoClass);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            request.setInfoType(testInfoType);
    
            // Verify info type was set
            Field infoTypeField;
            try {
                infoTypeField = Smb2QueryInfoRequest.class.getDeclaredField("infoType");
                infoTypeField.setAccessible(true);
                byte actualInfoType = (byte) infoTypeField.get(request);
                assertEquals(testInfoType, actualInfoType);
            } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

        @Test
        @DisplayName("Test constructor initializes with config and info type/class")
        void testConstructor() {
            byte infoType = Smb2Constants.SMB2_0_INFO_FILE;
            byte infoClass = FileInformation.FILE_INTERNAL_INFO;
    
            response = new Smb2QueryInfoResponse(mockConfig, infoType, infoClass);
    
            assertNotNull(response);
            assertNull(response.getInfo()); // Should be null before decoding
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            request.setInfoType(testInfoType);
    
            // Verify info type was set
            Field infoTypeField;
            try {
                infoTypeField = Smb2SetInfoRequest.class.getDeclaredField("infoType");
                infoTypeField.setAccessible(true);
                byte actualInfoType = (byte) infoTypeField.get(request);
                assertEquals(testInfoType, actualInfoType);
            } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top