- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 281 for SMB2 (0.02 seconds)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.internal.smb2.ServerMessageBlock2; import jcifs.internal.smb2.ServerMessageBlock2Request; import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; /** * Test class for Smb2TreeDisconnectRequest functionality */ @DisplayName("Smb2TreeDisconnectRequest Tests")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
import org.mockito.junit.jupiter.MockitoSettings; import org.mockito.quality.Strictness; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.ServerMessageBlock2; import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.util.SMBUtil; /** * Test class for Smb2SetInfoResponse functionality */ @DisplayName("Smb2SetInfoResponse Tests")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
public void testValidMessageSize() throws Exception { validator.validateMessageSize(1024, false); validator.validateMessageSize(65535, true); validator.validateMessageSize(1048576, false); // 1MB for SMB2 } @Test public void testMessageSizeTooSmall() throws Exception { assertThrows(SmbException.class, () -> { validator.validateMessageSize(20, false); }); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.internal.smb2.ServerMessageBlock2; import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; /** * Test class for Smb2CloseRequest functionality */ @DisplayName("Smb2CloseRequest Tests") class Smb2CloseRequestTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
package jcifs.internal.smb2.nego; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * SMB 3.1.1 Compression Capabilities negotiate context. * * This context is used during SMB2 negotiation to negotiate compression * algorithms for SMB3 data compression support. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
package jcifs.internal.smb2.session; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
* * @see DialectVersion * @return maximum protocol version to use/allow * @since 2.1 */ DialectVersion getMaximumVersion(); /** * Use SMB2 non-backward compatible negotiation style * * Property {@code jcifs.smb.client.useSMB2Negotiation} (boolean, default false) * * @return whether to use non-backward compatible protocol negotiationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0) -
src/main/java/jcifs/config/BaseConfiguration.java
/** Whether to use SMB2/SMB3 leases for caching */ protected boolean useLease = true; /** Lease timeout in milliseconds */ protected int leaseTimeout = 30000; /** Maximum number of concurrent leases */ protected int maxLeases = 1000; /** Preferred lease version (1 or 2) */ protected int leaseVersion = 2; /** Lease break timeout in seconds (per MS-SMB2 spec) */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 36.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
import jcifs.internal.smb2.ServerMessageBlock2Request; import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.smb2.create.Smb2CloseRequest; import jcifs.internal.smb2.create.Smb2CloseResponse; import jcifs.internal.smb2.create.Smb2CreateRequest; import jcifs.internal.smb2.create.Smb2CreateResponse; import jcifs.internal.smb2.info.Smb2QueryInfoRequest;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
import jcifs.internal.smb1.com.SmbComWriteAndX; import jcifs.internal.smb1.com.SmbComWriteAndXResponse; import jcifs.internal.smb1.com.SmbComWriteResponse; import jcifs.internal.smb2.info.Smb2SetInfoRequest; import jcifs.internal.smb2.io.Smb2WriteRequest; import jcifs.internal.smb2.io.Smb2WriteResponse; /** * This <code>OutputStream</code> can write bytes to a file on an SMB file server. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.8K bytes - Click Count (0)