Top Description Fields Constructors Methods
org.apache.sshd.sftp.client.impl

public final Class SftpResponse

extends Object
Class Inheritance
Imports
java.io.IOException, org.apache.sshd.common.SshException, org.apache.sshd.common.util.buffer.Buffer, org.apache.sshd.sftp.common.SftpConstants

A representation of an SFTP response to a request.

Field Summary

Modifier and TypeField and Description
private final Buffer
private final int
private final int
private final int
private final int

Constructor Summary

AccessConstructor and Description
private
SftpResponse(int cmd, int id, int type, int length, Buffer buffer)

Method Summary

Modifier and TypeMethod and Description
public Buffer
public int
public int
public int
public int
public static SftpResponse
parse(int cmd, Buffer buffer)

public static void
validateIncomingResponse(int cmd, int id, int type, int length, Buffer buffer)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bufferback to summary
private final Buffer buffer
cmdback to summary
private final int cmd
idback to summary
private final int id
lengthback to summary
private final int length
typeback to summary
private final int type

Constructor Detail

SftpResponseback to summary
private SftpResponse(int cmd, int id, int type, int length, Buffer buffer)

Method Detail

getBufferback to summary
public Buffer getBuffer()
getCmdback to summary
public int getCmd()
getIdback to summary
public int getId()
getLengthback to summary
public int getLength()
getTypeback to summary
public int getType()
parseback to summary
public static SftpResponse parse(int cmd, Buffer buffer) throws IOException
validateIncomingResponseback to summary
public static void validateIncomingResponse(int cmd, int id, int type, int length, Buffer buffer) throws IOException