Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getCreateContexts (4.35 sec)

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

            resp.decode(packet, 0, false);
    
            // Unrecognized context types lead to an empty array, not null
            assertNotNull(resp.getCreateContexts());
            assertEquals(0, resp.getCreateContexts().length);
        }
    
        @Test
        void prepare_setsFileId_whenReceived_andNextSupportsIt() throws Exception {
            Configuration config = Mockito.mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

            return this.fileName;
        }
    
        /**
         * Get the create context responses
         * @return the createContexts
         */
        public CreateContextResponse[] getCreateContexts() {
            return this.createContexts;
        }
    
        /**
         * Get the lease V1 context response if present
         * @return the lease V1 context or null if not present
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top