Package org.apache.sshd.sftp.server
Interface SftpSubsystemEnvironment
- All Superinterfaces:
ServerChannelSessionHolder,ServerSessionHolder,SessionContextHolder,SessionHolder<ServerSession>,SftpFileSystemAccessorProvider,SftpUnsupportedAttributePolicyProvider
- All Known Subinterfaces:
SftpSubsystemProxy
- All Known Implementing Classes:
AbstractSftpSubsystemHelper,SftpSubsystem
public interface SftpSubsystemEnvironment
extends SessionHolder<ServerSession>, ServerSessionHolder, ServerChannelSessionHolder, SftpFileSystemAccessorProvider, SftpUnsupportedAttributePolicyProvider
-
Field Summary
Fields -
Method Summary
Methods inherited from interface org.apache.sshd.server.channel.ServerChannelSessionHolder
getServerChannelSessionMethods inherited from interface org.apache.sshd.server.session.ServerSessionHolder
getServerSessionMethods inherited from interface org.apache.sshd.common.session.SessionHolder
getSessionContextMethods inherited from interface org.apache.sshd.sftp.server.SftpFileSystemAccessorProvider
getFileSystemAccessorMethods inherited from interface org.apache.sshd.sftp.server.SftpUnsupportedAttributePolicyProvider
getUnsupportedAttributePolicy
-
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:
getSessionin interfaceSessionHolder<ServerSession>
-
getVersion
int getVersion()- Returns:
- The negotiated version
-
getDefaultDirectory
Path getDefaultDirectory()- Returns:
- The default root directory used to resolve relative paths - a.k.a. the
chrootlocation
-