Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 27 of 27 for RequestParam (0.41 seconds)

  1. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                    req.setInputData(new ByteEncodable(buf, off, length));
                    req.setMaxOutputResponse(maxRecvSize);
                    final Smb2IoctlResponse resp = th.send(req, RequestParam.NO_RETRY);
                    return resp.getOutputLength();
                }
                if (this.transact) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbFileOutputStream.java

                        final Smb2SetInfoRequest treq = new Smb2SetInfoRequest(th.getConfig(), fh.getFileId());
                        treq.setFileInformation(new FileEndOfFileInformation(0));
                        th.send(treq, RequestParam.NO_RETRY);
                    }
                }
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
    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)
  3. src/main/java/jcifs/smb/SmbFileHandleImpl.java

                        final Smb2CloseRequest req = new Smb2CloseRequest(this.cfg, this.fileId);
                        t.send(req, RequestParam.NO_RETRY);
                    } else {
                        t.send(new SmbComClose(this.cfg, this.fid, lastWriteTime), new SmbComBlankResponse(this.cfg), RequestParam.NO_RETRY);
                    }
                }
            } finally {
                this.open = false;
                if (t != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.4K bytes
    - Click Count (1)
  4. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            lenient().when(fh.getTree()).thenReturn(tree);
            when(fh.getFileId()).thenReturn(new byte[16]);
    
            // Setup for ioctl request
            when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenReturn(ioctlResp);
            when(ioctlResp.getOutputLength()).thenReturn(42);
    
            byte[] in = new byte[128];
            byte[] out = new byte[256];
    
            // Act
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

                return handle;
            }).when(c).connectHost(any(), anyString());
    
            // Execute send - should retry after transport error
            try {
                c.send(loc, req, resp, EnumSet.noneOf(RequestParam.class));
            } catch (Exception e) {
                // It's ok if it fails, we just want to verify reset was called
            }
    
            // Request/response reset should happen on retry
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbCopyUtil.java

                            try {
                                final SrvCopyChunkCopyResponse r =
                                        dh.send(copy, RequestParam.NO_RETRY).getOutputData(SrvCopyChunkCopyResponse.class);
                                if (log.isDebugEnabled()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                    if (createResp.isReceived() && createResp.getStatus() == NtStatus.NT_STATUS_SUCCESS) {
                        th.send(new Smb2CloseRequest(th.getConfig(), createResp.getFileId()), RequestParam.NO_RETRY);
                    }
                } catch (final Exception e2) {
                    log.debug("Failed to close after failure", e2);
                    e.addSuppressed(e2);
                }
    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)
Back to Top