public interface CloseableScpClient extends ScpClient, java.nio.channels.Channel
ScpClient
wrapper that also closes the underlying session when closedScpClient.Option
Modifier and Type | Method and Description |
---|---|
static CloseableScpClient |
singleSessionInstance(ScpClient client) |
appendCommandOption, createReceiveCommand, createSendCommand, download, download, download, download, download, download, download, download, download, downloadBytes, getSession, upload, upload, upload, upload, upload, upload, upload, upload, upload, upload, upload
getSessionContext
getClientSession
static CloseableScpClient singleSessionInstance(ScpClient client)
client
- The (never null
) ScpClient
instanceCloseableScpClient
wrapper that also closes the underlying ClientSessionHolder.getClientSession()
when closed