| Modifier and Type | Field and Description |
|---|---|
| private SimpleClient | |
| private SftpClientFactory |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| protected SftpClient | |
| protected SftpClient | |
| public SimpleClient | |
| public SftpClientFactory | |
| public boolean | |
| public void | |
| public void | |
| public SftpClient | sftpLogin(SocketAddress
The target target, String SocketAddressUsername username, String Password password)Implements org. Creates an SFTP session using the provided credentials |
| public SftpClient | sftpLogin(SocketAddress
The target target, String SocketAddressUsername username, KeyPair The identity)KeyPair identityImplements org. Creates an SFTP session using the provided credentials |
| clientInstance | back to summary |
|---|---|
| private SimpleClient clientInstance | |
| sftpClientFactory | back to summary |
|---|---|
| private SftpClientFactory sftpClientFactory | |
| SimpleSftpClientImpl | back to summary |
|---|---|
| public SimpleSftpClientImpl() | |
| SimpleSftpClientImpl | back to summary |
|---|---|
| public SimpleSftpClientImpl(SimpleClient client) | |
| SimpleSftpClientImpl | back to summary |
|---|---|
| public SimpleSftpClientImpl(SimpleClient client, SftpClientFactory sftpClientFactory) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes this channel. After a channel is closed, any further attempt to invoke I/O
operations upon it will cause a If this channel is already closed then invoking this method has no effect. This method may be invoked at any time. If some other thread has already invoked it, however, then another invocation will block until the first invocation is complete, after which it will return without effect.
| |
| createSftpClient | back to summary |
|---|---|
| protected SftpClient createSftpClient(IOFunction<? super SimpleClient, ? extends ClientSession> sessionProvider) throws IOException | |
| createSftpClient | back to summary |
|---|---|
| protected SftpClient createSftpClient(ClientSession session) throws IOException | |
| getClient | back to summary |
|---|---|
| public SimpleClient getClient() | |
| getSftpClientFactory | back to summary |
|---|---|
| public SftpClientFactory getSftpClientFactory() | |
| isOpen | back to summary |
|---|---|
| public boolean isOpen() Implements java. Doc from java. Tells whether or not this channel is open.
| |
| setClient | back to summary |
|---|---|
| public void setClient(SimpleClient client) | |
| setSftpClientFactory | back to summary |
|---|---|
| public void setSftpClientFactory(SftpClientFactory sftpClientFactory) | |
| sftpLogin | back to summary |
|---|---|
| public SftpClient sftpLogin(SocketAddress target, String username, String password) throws IOException Implements org. Doc from org. Creates an SFTP session using the provided credentials
| |
| sftpLogin | back to summary |
|---|---|
| public SftpClient sftpLogin(SocketAddress target, String username, KeyPair identity) throws IOException Implements org. Doc from org. Creates an SFTP session using the provided credentials
| |