Package net.schmizz.sshj.sftp
Class Response
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.schmizz.sshj.common.Buffer
Buffer.BufferException, Buffer.PlainBuffer -
Field Summary
Fields inherited from class net.schmizz.sshj.common.Buffer
data, DEFAULT_SIZE, MAX_SIZE, MAX_UINT64_VALUE, rpos, wpos -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionensureStatusIs(Response.StatusCode acceptable) protected StringintlonggetType()Methods inherited from class net.schmizz.sshj.sftp.SFTPPacket
putFileAttributes, putType, readFileAttributes, readTypeMethods inherited from class net.schmizz.sshj.common.Buffer
array, available, clear, compact, ensureAvailable, ensureCapacity, getCompactData, getNextPowerOf2, printHex, putBoolean, putBuffer, putByte, putBytes, putBytes, putMPInt, putPublicKey, putRawBytes, putRawBytes, putSensitiveString, putSignature, putString, putString, putString, putString, putUInt32, putUInt32FromInt, putUInt64, putUInt64, readBoolean, readByte, readBytes, readMPInt, readPublicKey, readRawBytes, readRawBytes, readString, readString, readStringAsBytes, readUInt32, readUInt32AsInt, readUInt64, readUInt64AsBigInteger, rpos, rpos, toString, wpos, wpos
-
Constructor Details
-
Response
- Throws:
SFTPException
-
-
Method Details
-
getProtocolVersion
public int getProtocolVersion() -
getRequestID
public long getRequestID() -
getType
-
readStatusCode
- Throws:
SFTPException
-
ensurePacketTypeIs
- Throws:
SFTPException
-
ensureStatusPacketIsOK
- Throws:
SFTPException
-
ensureStatusIs
- Throws:
SFTPException
-
error
- Throws:
SFTPException
-