Uses of Interface
org.apache.sshd.sftp.client.SftpClient
-
-
Uses of SftpClient in org.apache.sshd.sftp.client
Subinterfaces of SftpClient in org.apache.sshd.sftp.client Modifier and Type Interface Description interface
FullAccessSftpClient
Provides both structured and raw SFTP accessMethods in org.apache.sshd.sftp.client that return SftpClient Modifier and Type Method Description default SftpClient
SftpClientFactory. createSftpClient(ClientSession session)
Create an SFTP client from this session.default SftpClient
SftpClientFactory. createSftpClient(ClientSession session, int version)
Creates an SFTP client using the specified versiondefault SftpClient
SftpClientFactory. createSftpClient(ClientSession session, SftpErrorDataHandler errorDataHandler)
Create an SFTP client from this session.default SftpClient
SftpClientFactory. createSftpClient(ClientSession session, SftpVersionSelector selector)
SftpClient
SftpClientFactory. createSftpClient(ClientSession session, SftpVersionSelector selector, SftpErrorDataHandler errorDataHandler)
SftpClient
SftpClientHolder. getClient()
default SftpClient
SimpleSftpClient. sftpLogin(java.lang.String host, int port, java.lang.String username, java.lang.String password)
Creates an SFTP session using the provided credentialsdefault SftpClient
SimpleSftpClient. sftpLogin(java.lang.String host, int port, java.lang.String username, java.security.KeyPair identity)
Creates an SFTP session using the provided credentialsdefault SftpClient
SimpleSftpClient. sftpLogin(java.lang.String host, java.lang.String username, java.lang.String password)
Creates an SFTP session on the default port and logs in using the provided credentialsdefault SftpClient
SimpleSftpClient. sftpLogin(java.lang.String host, java.lang.String username, java.security.KeyPair identity)
Creates an SFTP session on the default port and logs in using the provided credentialsdefault SftpClient
SimpleSftpClient. sftpLogin(java.net.InetAddress host, int port, java.lang.String username, java.lang.String password)
Creates an SFTP session using the provided credentialsdefault SftpClient
SimpleSftpClient. sftpLogin(java.net.InetAddress host, int port, java.lang.String username, java.security.KeyPair identity)
Creates an SFTP session using the provided credentialsdefault SftpClient
SimpleSftpClient. sftpLogin(java.net.InetAddress host, java.lang.String username, java.lang.String password)
Creates an SFTP session on the default port and logs in using the provided credentialsdefault SftpClient
SimpleSftpClient. sftpLogin(java.net.InetAddress host, java.lang.String username, java.security.KeyPair identity)
Creates an SFTP session on the default port and logs in using the provided credentialsSftpClient
SimpleSftpClient. sftpLogin(java.net.SocketAddress target, java.lang.String username, java.lang.String password)
Creates an SFTP session using the provided credentialsSftpClient
SimpleSftpClient. sftpLogin(java.net.SocketAddress target, java.lang.String username, java.security.KeyPair identity)
Creates an SFTP session using the provided credentialsstatic SftpClient
FullAccessSftpClient. singleSessionInstance(SftpClient client)
default SftpClient
SftpClient. singleSessionInstance()
Creates anSftpClient
instance that also closes the underlyingclient session
when the client instance is closed.Methods in org.apache.sshd.sftp.client with parameters of type SftpClient Modifier and Type Method Description static SftpClient
FullAccessSftpClient. singleSessionInstance(SftpClient client)
-
Uses of SftpClient in org.apache.sshd.sftp.client.extensions
Methods in org.apache.sshd.sftp.client.extensions with parameters of type SftpClient Modifier and Type Method Description default SftpClientExtension
SftpClientExtensionFactory. create(SftpClient client, RawSftpClient raw)
SftpClientExtension
SftpClientExtensionFactory. create(SftpClient client, RawSftpClient raw, java.util.Map<java.lang.String,byte[]> extensions, java.util.Map<java.lang.String,?> parsed)
-
Uses of SftpClient in org.apache.sshd.sftp.client.extensions.helpers
Fields in org.apache.sshd.sftp.client.extensions.helpers declared as SftpClient Modifier and Type Field Description private SftpClient
AbstractSftpClientExtension. client
Methods in org.apache.sshd.sftp.client.extensions.helpers that return SftpClient Modifier and Type Method Description SftpClient
AbstractSftpClientExtension. getClient()
Constructors in org.apache.sshd.sftp.client.extensions.helpers with parameters of type SftpClient Constructor Description AbstractCheckFileExtension(java.lang.String name, SftpClient client, RawSftpClient raw, java.util.Collection<java.lang.String> extras)
AbstractMD5HashExtension(java.lang.String name, SftpClient client, RawSftpClient raw, java.util.Collection<java.lang.String> extras)
AbstractSftpClientExtension(java.lang.String name, SftpClient client, RawSftpClient raw, boolean supported)
AbstractSftpClientExtension(java.lang.String name, SftpClient client, RawSftpClient raw, java.util.Collection<java.lang.String> extras)
AbstractSftpClientExtension(java.lang.String name, SftpClient client, RawSftpClient raw, java.util.Map<java.lang.String,byte[]> extensions)
CheckFileHandleExtensionImpl(SftpClient client, RawSftpClient raw, java.util.Collection<java.lang.String> extras)
CheckFileNameExtensionImpl(SftpClient client, RawSftpClient raw, java.util.Collection<java.lang.String> extras)
CopyDataExtensionImpl(SftpClient client, RawSftpClient raw, java.util.Collection<java.lang.String> extra)
CopyFileExtensionImpl(SftpClient client, RawSftpClient raw, java.util.Collection<java.lang.String> extra)
FilenameTranslationControlExtensionImpl(SftpClient client, RawSftpClient raw, java.util.Collection<java.lang.String> extras)
FilenameTranslationControlExtensionImpl(SftpClient client, RawSftpClient raw, java.util.Map<java.lang.String,byte[]> extensions)
MD5FileExtensionImpl(SftpClient client, RawSftpClient raw, java.util.Collection<java.lang.String> extra)
MD5HandleExtensionImpl(SftpClient client, RawSftpClient raw, java.util.Collection<java.lang.String> extra)
SpaceAvailableExtensionImpl(SftpClient client, RawSftpClient raw, java.util.Collection<java.lang.String> extra)
-
Uses of SftpClient in org.apache.sshd.sftp.client.extensions.openssh.helpers
Constructors in org.apache.sshd.sftp.client.extensions.openssh.helpers with parameters of type SftpClient Constructor Description AbstractOpenSSHStatCommandExtension(java.lang.String name, SftpClient client, RawSftpClient raw, java.util.Map<java.lang.String,byte[]> extensions)
OpenSSHFsyncExtensionImpl(SftpClient client, RawSftpClient raw, java.util.Map<java.lang.String,byte[]> extensions)
OpenSSHPosixRenameExtensionImpl(SftpClient client, RawSftpClient raw, java.util.Map<java.lang.String,byte[]> extensions)
OpenSSHStatHandleExtensionImpl(SftpClient client, RawSftpClient raw, java.util.Map<java.lang.String,byte[]> extensions)
OpenSSHStatPathExtensionImpl(SftpClient client, RawSftpClient raw, java.util.Map<java.lang.String,byte[]> extensions)
-
Uses of SftpClient in org.apache.sshd.sftp.client.fs
Classes in org.apache.sshd.sftp.client.fs that implement SftpClient Modifier and Type Class Description private class
SftpFileSystem.Wrapper
Fields in org.apache.sshd.sftp.client.fs declared as SftpClient Modifier and Type Field Description private SftpClient
SftpFileSystem.Wrapper. delegate
private SftpClient
SftpDirectoryStream. sftp
Fields in org.apache.sshd.sftp.client.fs with type parameters of type SftpClient Modifier and Type Field Description private java.util.Queue<SftpClient>
SftpFileSystem. pool
Methods in org.apache.sshd.sftp.client.fs that return SftpClient Modifier and Type Method Description SftpClient
SftpDirectoryStream. getClient()
SftpClient
SftpFileSystem. getClient()
Methods in org.apache.sshd.sftp.client.fs with parameters of type SftpClient Modifier and Type Method Description java.util.Collection<SftpClientDirectoryScanner.ScanDirEntry>
SftpClientDirectoryScanner. scan(SftpClient client)
Scans the currentbasedir
<C extends java.util.Collection<SftpClientDirectoryScanner.ScanDirEntry>>
CSftpClientDirectoryScanner. scan(SftpClient client, java.util.function.Supplier<? extends C> factory)
protected <C extends java.util.Collection<SftpClientDirectoryScanner.ScanDirEntry>>
CSftpClientDirectoryScanner. scandir(SftpClient client, java.lang.String rootDir, java.lang.String parent, C filesList)
Constructors in org.apache.sshd.sftp.client.fs with parameters of type SftpClient Constructor Description Wrapper(SftpClient delegate, SftpErrorDataHandler errorHandler, int readSize, int writeSize)
-
Uses of SftpClient in org.apache.sshd.sftp.client.impl
Classes in org.apache.sshd.sftp.client.impl that implement SftpClient Modifier and Type Class Description class
AbstractSftpClient
class
DefaultSftpClient
Fields in org.apache.sshd.sftp.client.impl declared as SftpClient Modifier and Type Field Description private SftpClient
DefaultCloseableHandle. client
private SftpClient
SftpDirEntryIterator. client
private SftpClient
SftpIterableDirEntry. client
private SftpClient
StfpIterableDirHandle. client
protected SftpClient
SftpRemotePathChannel. sftp
Methods in org.apache.sshd.sftp.client.impl that return SftpClient Modifier and Type Method Description SftpClient
DefaultSftpClientFactory. createSftpClient(ClientSession session, SftpVersionSelector selector, SftpErrorDataHandler errorDataHandler)
protected SftpClient
SimpleSftpClientImpl. createSftpClient(ClientSession session)
protected SftpClient
SimpleSftpClientImpl. createSftpClient(IOFunction<? super SimpleClient,? extends ClientSession> sessionProvider)
SftpClient
SftpDirEntryIterator. getClient()
SftpClient
SftpIterableDirEntry. getClient()
SftpClient
StfpIterableDirHandle. getClient()
SftpClient
DefaultCloseableHandle. getSftpClient()
SftpClient
SimpleSftpClientImpl. sftpLogin(java.net.SocketAddress target, java.lang.String username, java.lang.String password)
SftpClient
SimpleSftpClientImpl. sftpLogin(java.net.SocketAddress target, java.lang.String username, java.security.KeyPair identity)
Constructors in org.apache.sshd.sftp.client.impl with parameters of type SftpClient Constructor Description DefaultCloseableHandle(SftpClient client, java.lang.String path, byte[] id)
SftpDirEntryIterator(SftpClient client, java.lang.String path)
SftpDirEntryIterator(SftpClient client, java.lang.String path, SftpClient.Handle dirHandle, boolean closeOnFinished)
SftpDirEntryIterator(SftpClient client, SftpClient.Handle dirHandle)
SftpIterableDirEntry(SftpClient client, java.lang.String path)
SftpRemotePathChannel(java.lang.String path, SftpClient sftp, boolean closeOnExit, java.util.Collection<SftpClient.OpenMode> modes)
StfpIterableDirHandle(SftpClient client, SftpClient.Handle handle)
-