public interface SftpSubsystemEnvironment extends SessionHolder<ServerSession>, ServerSessionHolder
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALL_SFTP_IMPL |
static int |
HIGHER_SFTP_IMPL |
static int |
LOWER_SFTP_IMPL |
static java.lang.String |
SFTP_VERSION
Force the use of a given sftp version
|
static java.util.List<java.lang.Integer> |
SUPPORTED_SFTP_VERSIONS |
Modifier and Type | Method and Description |
---|---|
java.nio.file.Path |
getDefaultDirectory() |
SftpFileSystemAccessor |
getFileSystemAccessor() |
default ServerSession |
getSession() |
UnsupportedAttributePolicy |
getUnsupportedAttributePolicy() |
int |
getVersion() |
getSessionContext
getServerSession
static final java.lang.String SFTP_VERSION
static final int LOWER_SFTP_IMPL
static final int HIGHER_SFTP_IMPL
static final java.util.List<java.lang.Integer> SUPPORTED_SFTP_VERSIONS
static final java.lang.String ALL_SFTP_IMPL
default ServerSession getSession()
getSession
in interface SessionHolder<ServerSession>
int getVersion()
SftpFileSystemAccessor getFileSystemAccessor()
SftpFileSystemAccessor
used to access effective server-side pathsUnsupportedAttributePolicy getUnsupportedAttributePolicy()
java.nio.file.Path getDefaultDirectory()
chroot
location