public interface CloseableScpClient extends ScpClient, 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 closedCopyright © 2008–2024 The Apache Software Foundation. All rights reserved.