Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setCreateOptions (0.08 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        void testSetCreateOptions() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            int options = Smb2CreateRequest.FILE_DIRECTORY_FILE | Smb2CreateRequest.FILE_DELETE_ON_CLOSE;
            request.setCreateOptions(options);
    
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
            // Read create options from buffer (offset 40-43)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        }
    
        /**
         * Set the create options that control file creation behavior
         * @param createOptions the createOptions to set
         */
        public void setCreateOptions(final int createOptions) {
            this.createOptions = createOptions;
        }
    
        /**
         * Set the create contexts for this request
         * @param contexts the create contexts to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
Back to top