- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 37 for createResponse (0.4 seconds)
-
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java
* @param flags the lease flags to set */ public void setLeaseFlags(int flags) { this.flags = flags; } @Override protected Smb2LeaseBreakResponse createResponse(CIFSContext tc, ServerMessageBlock2Request<Smb2LeaseBreakResponse> req) { return new Smb2LeaseBreakResponse(tc.getConfig()); } @Override public int size() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java
} /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2Request#createResponse(jcifs.CIFSContext, * jcifs.internal.smb2.ServerMessageBlock2Request) */ @Override protected Smb2NegotiateResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2NegotiateResponse> req) { return new Smb2NegotiateResponse(tc.getConfig());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2EchoRequest.java
* @param config the client configuration */ public Smb2EchoRequest(final Configuration config) { super(config, SMB2_ECHO); } @Override protected Smb2EchoResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2EchoResponse> req) { return new Smb2EchoResponse(tc.getConfig()); } /** * {@inheritDoc} *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/session/Smb2LogoffRequest.java
* @param config the configuration for this request */ public Smb2LogoffRequest(final Configuration config) { super(config, SMB2_LOGOFF); } @Override protected Smb2LogoffResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2LogoffResponse> req) { return new Smb2LogoffResponse(tc.getConfig()); } /** * {@inheritDoc} *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
assertEquals(testFlags, storedFlags); } @Test @DisplayName("createResponse should return Smb2CloseResponse with correct parameters") void testCreateResponse() throws Exception { Smb2CloseResponse response = request.createResponse(mockContext, request); assertNotNull(response); // Verify response has correct config
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/io/Smb2FlushRequest.java
*/ public Smb2FlushRequest(final Configuration config, final byte[] fileId) { super(config, SMB2_FLUSH); this.fileId = fileId; } @Override protected Smb2FlushResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2FlushResponse> req) { return new Smb2FlushResponse(tc.getConfig()); } /** * {@inheritDoc} *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java
public Smb2TreeConnectRequest(final Configuration config, final String path) { super(config, SMB2_TREE_CONNECT); this.path = path; } @Override protected Smb2TreeConnectResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2TreeConnectResponse> req) { return new Smb2TreeConnectResponse(tc.getConfig()); } /** * {@inheritDoc} *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
super(config, SMB2_READ); this.fileId = fileId; this.outputBuffer = outputBuffer; this.outputBufferOffset = outputBufferOffset; } @Override protected Smb2ReadResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2ReadResponse> req) { return new Smb2ReadResponse(tc.getConfig(), this.outputBuffer, this.outputBufferOffset); } /** * {@inheritDoc}
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) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
} @Test @DisplayName("Test createResponse method") void testCreateResponse() { // This constructor doesn't use getTransactionBufferSize() setupMockContext(); Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE, TEST_FILE_ID, TEST_OUTPUT_BUFFER); Smb2IoctlResponse response = request.createResponse(mockContext, request); assertNotNull(response);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
this.capabilities = capabilities; this.previousSessionId = previousSessionid; this.token = token; } @Override protected Smb2SessionSetupResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2SessionSetupResponse> req) { return new Smb2SessionSetupResponse(tc.getConfig()); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.8K bytes - Click Count (0)