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

public final Class SftpStatus

extends Object
Class Inheritance
Imports
org.apache.sshd.common.util.buffer.Buffer, org.apache.sshd.sftp.common.SftpConstants, .SftpException

A representation of a SSH_FXP_STATUS record.

Field Summary

Modifier and TypeField and Description
private final String
private final String
private final int

Constructor Summary

AccessConstructor and Description
private
SftpStatus(int statusCode, String message, String language)

Method Summary

Modifier and TypeMethod and Description
public String
public String
public int
public boolean
isOk()

pack-priv static SftpStatus
parse(Buffer buffer)

public static SftpStatus
parse(SftpResponse response)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

languageback to summary
private final String language
messageback to summary
private final String message
statusCodeback to summary
private final int statusCode

Constructor Detail

SftpStatusback to summary
private SftpStatus(int statusCode, String message, String language)

Method Detail

getLanguageback to summary
public String getLanguage()
getMessageback to summary
public String getMessage()
getStatusCodeback to summary
public int getStatusCode()
isOkback to summary
public boolean isOk()
parseback to summary
pack-priv static SftpStatus parse(Buffer buffer)
parseback to summary
public static SftpStatus parse(SftpResponse response) throws SftpException
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override