Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for RequestParam (0.09 sec)

  1. src/main/java/jcifs/util/transport/Transport.java

         */
        public <T extends Response> T sendrecv ( Request request, T response, Set<RequestParam> params ) throws IOException {
            if ( isDisconnected() && this.state != 5 ) {
                throw new TransportException("Transport is disconnected " + this.name);
            }
            try {
                long timeout = !params.contains(RequestParam.NO_TIMEOUT) ? getResponseTimeout(request) : 0;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileHandleImpl.java

                        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;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (1)
  3. src/main/java/jcifs/smb/SmbFileOutputStream.java

                        Smb2SetInfoRequest treq = new Smb2SetInfoRequest(th.getConfig(), fh.getFileId());
                        treq.setFileInformation(new FileEndOfFileInformation(0));
                        th.send(treq, RequestParam.NO_RETRY);
                    }
                }
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

            return send(request, response, Collections.<RequestParam> emptySet());
        }
    
    
        <T extends CommonServerMessageBlockResponse> T send ( CommonServerMessageBlockRequest request, T response, Set<RequestParam> params )
                throws SmbException {
            ensureConnected(); /* must negotiate before we can test flags2, useUnicode, etc */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileInputStream.java

                            request.setReadLength(r);
                            request.setRemainingBytes(len - r);
    
                            try {
                                Smb2ReadResponse resp = th.send(request, RequestParam.NO_RETRY);
                                n = resp.getDataLength();
                            }
                            catch ( SmbException e ) {
                                if ( e.getNtStatus() == 0xC0000011 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbCopyUtil.java

                            copy.setInputData(new SrvCopychunkCopy(resumeKey, chunkInfo));
    
                            try {
                                SrvCopyChunkCopyResponse r = dh.send(copy, RequestParam.NO_RETRY).getOutputData(SrvCopyChunkCopyResponse.class);
                                if ( log.isDebugEnabled() ) {
                                    log.debug(
                                        String.format(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                    if ( createResp.isReceived() && createResp.getStatus() == NtStatus.NT_STATUS_OK ) {
                        th.send(new Smb2CloseRequest(th.getConfig(), createResp.getFileId()), RequestParam.NO_RETRY);
                    }
                }
                catch ( Exception e2 ) {
                    log.debug("Failed to close after failure", e2);
                    e.addSuppressed(e2);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top