Class SftpFileSystemAutomatic

All Implemented Interfaces:
Closeable, AutoCloseable, ClientSessionHolder, SessionContextHolder, SessionHolder<ClientSession>

public class SftpFileSystemAutomatic extends SftpFileSystem
An SftpFileSystem that uses a provider function for its ClientSession so that it can continue to function even if a session was closed. The provider is supposed to create a new session if the current one is not open.