Package org.apache.sshd.sftp.server
Interface SftpSubsystemEnvironment
- All Superinterfaces:
ServerSessionHolder
,SessionContextHolder
,SessionHolder<ServerSession>
- All Known Subinterfaces:
SftpSubsystemProxy
- All Known Implementing Classes:
AbstractSftpSubsystemHelper
,SftpSubsystem
-
Field Summary
Fields -
Method Summary
Methods inherited from interface org.apache.sshd.server.session.ServerSessionHolder
getServerSession
Methods inherited from interface org.apache.sshd.common.session.SessionHolder
getSessionContext
-
Field Details
-
LOWER_SFTP_IMPL
static final int LOWER_SFTP_IMPL- See Also:
-
HIGHER_SFTP_IMPL
static final int HIGHER_SFTP_IMPL- See Also:
-
SUPPORTED_SFTP_VERSIONS
-
ALL_SFTP_IMPL
-
-
Method Details
-
getSession
- Specified by:
getSession
in interfaceSessionHolder<ServerSession>
-
getVersion
int getVersion()- Returns:
- The negotiated version
-
getFileSystemAccessor
SftpFileSystemAccessor getFileSystemAccessor()- Returns:
- The
SftpFileSystemAccessor
used to access effective server-side paths
-
getUnsupportedAttributePolicy
UnsupportedAttributePolicy getUnsupportedAttributePolicy()- Returns:
- The selected behavior in case some unsupported attributes are requested
-
getDefaultDirectory
Path getDefaultDirectory()- Returns:
- The default root directory used to resolve relative paths - a.k.a. the
chroot
location
-