Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for createResponse (0.43 sec)

  1. 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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

        }
    
        @Test
        @DisplayName("Test createResponse method")
        void testCreateResponse() {
            request = new Smb2QueryDirectoryRequest(mockConfig);
            request.setFileInformationClass(Smb2QueryDirectoryRequest.FILE_ID_BOTH_DIRECTORY_INFO);
    
            Smb2QueryDirectoryResponse response = request.createResponse(mockContext, request);
    
            assertNotNull(response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. 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}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. 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}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. 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}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            assertEquals(null, storedFileId);
        }
    
        @Test
        @DisplayName("createResponse should return Smb2FlushResponse with correct config")
        void testCreateResponse() throws Exception {
            Smb2FlushResponse response = request.createResponse(mockContext, request);
    
            assertNotNull(response);
    
            // Verify response has correct config
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. 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}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. 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}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Test createResponse method")
        void testCreateResponse() {
            request = new Smb2SetInfoRequest(mockConfig);
    
            Smb2SetInfoResponse response = request.createResponse(mockContext, request);
    
            assertNotNull(response);
            verify(mockContext, times(1)).getConfig();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. 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());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top