Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for retainPayload (0.2 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

                public boolean isRetainPayload() {
                    // Implementation for retain payload flag
                    return false;
                }
    
                @Override
                public void retainPayload() {
                    // Implementation for retaining payload
                }
            };
    
            // Test the concrete implementation
            concreteBlock.setMid(555L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

                public boolean isRetainPayload() {
                    // Implementation for retain payload flag
                    return false;
                }
    
                @Override
                public void retainPayload() {
                    // Implementation for retaining payload
                }
            };
    
            // Test async functionality
            assertFalse(concreteResponse.isAsync());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            @Test
            @DisplayName("Should retain payload when requested")
            void testRetainPayload() {
                assertFalse(testMessage.isRetainPayload());
                testMessage.retainPayload();
                assertTrue(testMessage.isRetainPayload());
            }
    
            @Test
            @DisplayName("Should get and set raw payload")
            void testRawPayload() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Transport.java

            Request curReq = request;
            long firstKey = 0;
            while (curResp != null) {
                curResp.reset();
    
                if (params.contains(RequestParam.RETAIN_PAYLOAD)) {
                    curResp.retainPayload();
                }
    
                final long k = makeKey(curReq);
    
                if (firstKey == 0) {
                    firstKey = k;
                }
    
                if (timeout > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

                    // session setup complete
    
                    request.setSessionId(sessId);
                    request.retainPayload();
    
                    try {
                        response = trans.send(request, null, EnumSet.of(RequestParam.RETAIN_PAYLOAD));
                        sessId = response.getSessionId();
                    } catch (SmbAuthException sae) {
                        throw sae;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/RequestParamTest.java

                    values, "values() order should match declaration order");
        }
    
        // Happy path: valueOf resolves each constant name; toString equals name; ordinal is stable
        @ParameterizedTest
        @ValueSource(strings = { "NONE", "NO_TIMEOUT", "NO_RETRY", "RETAIN_PAYLOAD" })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/RequestParam.java

         */
        NO_TIMEOUT,
    
        /**
         * Do not retry request on failure
         */
        NO_RETRY,
    
        /**
         * Save the raw payload for further inspection
         */
        RETAIN_PAYLOAD
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top