| Package | Description |
|---|---|
| org.apache.sshd.sftp.client.impl |
| Modifier and Type | Method and Description |
|---|---|
static SftpResponse |
SftpResponse.parse(int cmd,
org.apache.sshd.common.util.buffer.Buffer buffer) |
protected SftpResponse |
AbstractSftpClient.response(int cmd,
int requestId)
Receives a response buffer, validates and returns it as a
SftpResponse. |
protected SftpResponse |
AbstractSftpClient.rpc(int cmd,
org.apache.sshd.common.util.buffer.Buffer request)
Perform an SFTP request and wait until the response has been received.
|
| Modifier and Type | Method and Description |
|---|---|
protected SftpClient.Attributes |
AbstractSftpClient.checkAttributesResponse(SftpResponse response) |
protected org.apache.sshd.common.util.buffer.Buffer |
AbstractSftpClient.checkDataResponse(SftpAckData ack,
SftpResponse response,
AtomicReference<Boolean> eofSignalled)
Processes a response to an SSH_FXP_READ request.
|
protected List<SftpClient.DirEntry> |
AbstractSftpClient.checkDirResponse(SftpResponse response,
AtomicReference<Boolean> eolIndicator) |
protected byte[] |
AbstractSftpClient.checkHandleResponse(SftpResponse response) |
protected String |
AbstractSftpClient.checkOneNameResponse(SftpResponse response) |
protected void |
AbstractSftpClient.checkResponseStatus(SftpResponse response)
Checks if the incoming response is an
SSH_FXP_STATUS one, and if so whether the substatus is
SSH_FX_OK. |
protected SftpClient.Attributes |
AbstractSftpClient.handleUnexpectedAttributesPacket(SftpResponse response) |
protected byte[] |
AbstractSftpClient.handleUnexpectedHandlePacket(SftpResponse response) |
protected IOException |
AbstractSftpClient.handleUnexpectedPacket(int expected,
SftpResponse response) |
protected int |
AbstractSftpClient.handleUnknownDataPacket(SftpResponse response) |
protected List<SftpClient.DirEntry> |
AbstractSftpClient.handleUnknownDirListingPacket(SftpResponse response) |
protected String |
AbstractSftpClient.handleUnknownOneNamePacket(SftpResponse response) |
static SftpStatus |
SftpStatus.parse(SftpResponse response) |
Copyright © 2018–2024 The Apache Software Foundation. All rights reserved.