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(InetAddress host,
int port,
String username,
KeyPair identity)
Creates an SFTP session using the provided credentials
|
default SftpClient |
SimpleSftpClient.sftpLogin(InetAddress host,
int port,
String username,
String password)
Creates an SFTP session using the provided credentials
|
default SftpClient |
SimpleSftpClient.sftpLogin(InetAddress host,
String username,
KeyPair identity)
Creates an SFTP session on the default port and logs in using the provided credentials
|
default SftpClient |
SimpleSftpClient.sftpLogin(InetAddress host,
String username,
String password)
Creates an SFTP session on the default port and logs in using the provided credentials
|
SftpClient |
SimpleSftpClient.sftpLogin(SocketAddress target,
String username,
KeyPair identity)
Creates an SFTP session using the provided credentials
|
SftpClient |
SimpleSftpClient.sftpLogin(SocketAddress target,
String username,
String password)
Creates an SFTP session using the provided credentials
|
default SftpClient |
SimpleSftpClient.sftpLogin(String host,
int port,
String username,
KeyPair identity)
Creates an SFTP session using the provided credentials
|
default SftpClient |
SimpleSftpClient.sftpLogin(String host,
int port,
String username,
String password)
Creates an SFTP session using the provided credentials
|
default SftpClient |
SimpleSftpClient.sftpLogin(String host,
String username,
KeyPair identity)
Creates an SFTP session on the default port and logs in using the provided credentials
|
default SftpClient |
SimpleSftpClient.sftpLogin(String host,
String username,
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,
Map<String,byte[]> extensions,
Map<String,?> parsed) |
Modifier and Type | Method and Description |
---|---|
SftpClient |
AbstractSftpClientExtension.getClient() |
Constructor and Description |
---|
AbstractOpenSSHStatCommandExtension(String name,
SftpClient client,
RawSftpClient raw,
Map<String,byte[]> extensions) |
OpenSSHFsyncExtensionImpl(SftpClient client,
RawSftpClient raw,
Map<String,byte[]> extensions) |
OpenSSHLimitsExtensionImpl(SftpClient client,
RawSftpClient raw,
Map<String,byte[]> extensions) |
OpenSSHPosixRenameExtensionImpl(SftpClient client,
RawSftpClient raw,
Map<String,byte[]> extensions) |
OpenSSHStatHandleExtensionImpl(SftpClient client,
RawSftpClient raw,
Map<String,byte[]> extensions) |
OpenSSHStatPathExtensionImpl(SftpClient client,
RawSftpClient raw,
Map<String,byte[]> extensions) |
Modifier and Type | Method and Description |
---|---|
SftpClient |
SftpFileSystem.getClient() |
SftpClient |
SftpDirectoryStream.getClient() |
Modifier and Type | Method and Description |
---|---|
Collection<SftpClientDirectoryScanner.ScanDirEntry> |
SftpClientDirectoryScanner.scan(SftpClient client)
Scans the current
basedir |
<C extends Collection<SftpClientDirectoryScanner.ScanDirEntry>> |
SftpClientDirectoryScanner.scan(SftpClient client,
Supplier<? extends C> factory) |
protected <C extends Collection<SftpClientDirectoryScanner.ScanDirEntry>> |
SftpClientDirectoryScanner.scandir(SftpClient client,
String rootDir,
String parent,
C filesList) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSftpClient |
class |
DefaultSftpClient |
Modifier and Type | Field and Description |
---|---|
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 |
SftpDirEntryIterator.getClient() |
SftpClient |
StfpIterableDirHandle.getClient() |
SftpClient |
SftpIterableDirEntry.getClient() |
SftpClient |
DefaultCloseableHandle.getSftpClient() |
SftpClient |
SimpleSftpClientImpl.sftpLogin(SocketAddress target,
String username,
KeyPair identity) |
SftpClient |
SimpleSftpClientImpl.sftpLogin(SocketAddress target,
String username,
String password) |
Constructor and Description |
---|
DefaultCloseableHandle(SftpClient client,
String path,
byte[] id) |
SftpDirEntryIterator(SftpClient client,
SftpClient.Handle dirHandle) |
SftpDirEntryIterator(SftpClient client,
String path) |
SftpDirEntryIterator(SftpClient client,
String path,
SftpClient.Handle dirHandle,
boolean closeOnFinished) |
SftpIterableDirEntry(SftpClient client,
String path) |
SftpRemotePathChannel(String path,
SftpClient sftp,
boolean closeOnExit,
Collection<SftpClient.OpenMode> modes) |
StfpIterableDirHandle(SftpClient client,
SftpClient.Handle handle) |
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.