Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 26 for setFileId (0.55 seconds)

  1. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            // When - set file ID multiple times
            assertDoesNotThrow(() -> {
                request.setFileId(firstFileId);
                request.setFileId(secondFileId);
                request.setFileId(testFileId);
            }, "Should handle multiple setFileId calls");
        }
    
        @Test
        @DisplayName("Should test interface with anonymous implementation")
        void testAnonymousImplementation() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/RequestWithFileId.java

     *
     * @author mbechler
     */
    public interface RequestWithFileId {
    
        /**
         * Sets the file ID for this request.
         *
         * @param fileId the file ID to set
         */
        void setFileId(byte[] fileId);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

            this(config, fileId, "");
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        /**
         * Constructs a close request with file name only
         *
         * @param config
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        /**
         * Sets the information type for the query
         *
         * @param infoType
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        /**
         * Sets the padding for the read request
         *
         * @param padding
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

            return new Smb2FlushResponse(tc.getConfig());
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java

            return new Smb2LockResponse(tc.getConfig());
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            assertNotNull(requestWithNull);
        }
    
        @Test
        @DisplayName("setFileId should update file ID")
        void testSetFileId() throws Exception {
            byte[] newFileId = new byte[16];
            Arrays.fill(newFileId, (byte) 0xFF);
    
            request.setFileId(newFileId);
    
            Field fileIdField = Smb2FlushRequest.class.getDeclaredField("fileId");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java

            super(config, SMB2_SET_INFO);
            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        /**
         * Sets the information type for the set info operation
         *
         * @param infoType
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        /**
         * Sets the file information class for the directory query
         *
         * @param fileInformationClass
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
Back to Top