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, uploadgetSessionContextgetClientSessionstatic CloseableScpClient singleSessionInstance(ScpClient client)
client - The (never null) ScpClient instanceCloseableScpClient wrapper that also closes the underlying ClientSessionHolder.getClientSession()
when closedCopyright © 2018–2021 The Apache Software Foundation. All rights reserved.