Modifier and Type | Interface and Description |
---|---|
interface |
FullAccessSftpClient
Provides both structured and raw SFTP access
|
Modifier and Type | Method and 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 version
|
default 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.net.InetAddress host,
int port,
java.lang.String username,
java.security.KeyPair identity)
Creates an SFTP session using the provided credentials
|
default SftpClient |
SimpleSftpClient.sftpLogin(java.net.InetAddress host,
int port,
java.lang.String username,
java.lang.String password)
Creates an SFTP session using the provided credentials
|
default 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 credentials
|
default 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 credentials
|
SftpClient |
SimpleSftpClient.sftpLogin(java.net.SocketAddress target,
java.lang.String username,
java.security.KeyPair identity)
Creates an SFTP session using the provided credentials
|
SftpClient |
SimpleSftpClient.sftpLogin(java.net.SocketAddress target,
java.lang.String username,
java.lang.String password)
Creates an SFTP session using the provided credentials
|
default SftpClient |
SimpleSftpClient.sftpLogin(java.lang.String host,
int port,
java.lang.String username,
java.security.KeyPair identity)
Creates an SFTP session using the provided credentials
|
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 credentials
|
default 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 credentials
|
default 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 credentials
|
default SftpClient |
SftpClient.singleSessionInstance()
Creates an
SftpClient instance that also closes the underlying client session
when the client instance is closed. |
static SftpClient |
FullAccessSftpClient.singleSessionInstance(SftpClient client) |
Modifier and Type | Method and Description |
---|---|
static SftpClient |
FullAccessSftpClient.singleSessionInstance(SftpClient client) |
Modifier and Type | Method and 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) |
Modifier and Type | Field and Description |
---|---|
private SftpClient |
AbstractSftpClientExtension.client |
Modifier and Type | Method and Description |
---|---|
SftpClient |
AbstractSftpClientExtension.getClient() |
Constructor and 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) |
Constructor and 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) |
OpenSSHLimitsExtensionImpl(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) |
Modifier and Type | Class and Description |
---|---|
private class |
SftpFileSystem.Wrapper |
Modifier and Type | Field and Description |
---|---|
private SftpClient |
SftpFileSystem.Wrapper.delegate |
private SftpClient |
SftpDirectoryStream.sftp |
Modifier and Type | Field and Description |
---|---|
private java.util.Queue<SftpClient> |
SftpFileSystem.pool |
Modifier and Type | Method and Description |
---|---|
SftpClient |
SftpFileSystem.getClient() |
SftpClient |
SftpDirectoryStream.getClient() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<SftpClientDirectoryScanner.ScanDirEntry> |
SftpClientDirectoryScanner.scan(SftpClient client)
Scans the current
basedir |
<C extends java.util.Collection<SftpClientDirectoryScanner.ScanDirEntry>> |
SftpClientDirectoryScanner.scan(SftpClient client,
java.util.function.Supplier<? extends C> factory) |
protected <C extends java.util.Collection<SftpClientDirectoryScanner.ScanDirEntry>> |
SftpClientDirectoryScanner.scandir(SftpClient client,
java.lang.String rootDir,
java.lang.String parent,
C filesList) |
Constructor and Description |
---|
Wrapper(SftpClient delegate,
SftpErrorDataHandler errorHandler,
int readSize,
int writeSize) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSftpClient |
class |
DefaultSftpClient |
Modifier and Type | Field and Description |
---|---|
private SftpClient |
DefaultCloseableHandle.client |
private SftpClient |
StfpIterableDirHandle.client |
private SftpClient |
SftpIterableDirEntry.client |
private SftpClient |
SftpDirEntryIterator.client |
protected SftpClient |
SftpRemotePathChannel.sftp |
Modifier and Type | Method and Description |
---|---|
protected SftpClient |
SimpleSftpClientImpl.createSftpClient(ClientSession session) |
SftpClient |
DefaultSftpClientFactory.createSftpClient(ClientSession session,
SftpVersionSelector selector,
SftpErrorDataHandler errorDataHandler) |
protected SftpClient |
SimpleSftpClientImpl.createSftpClient(IOFunction<? super SimpleClient,? extends ClientSession> sessionProvider) |
SftpClient |
StfpIterableDirHandle.getClient() |
SftpClient |
SftpIterableDirEntry.getClient() |
SftpClient |
SftpDirEntryIterator.getClient() |
SftpClient |
DefaultCloseableHandle.getSftpClient() |
SftpClient |
SimpleSftpClientImpl.sftpLogin(java.net.SocketAddress target,
java.lang.String username,
java.security.KeyPair identity) |
SftpClient |
SimpleSftpClientImpl.sftpLogin(java.net.SocketAddress target,
java.lang.String username,
java.lang.String password) |
Constructor and Description |
---|
DefaultCloseableHandle(SftpClient client,
java.lang.String path,
byte[] id) |
SftpDirEntryIterator(SftpClient client,
SftpClient.Handle dirHandle) |
SftpDirEntryIterator(SftpClient client,
java.lang.String path) |
SftpDirEntryIterator(SftpClient client,
java.lang.String path,
SftpClient.Handle dirHandle,
boolean closeOnFinished) |
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) |