Package org.apache.sshd.sftp.server
Interface SftpSubsystemEnvironment
- All Superinterfaces:
org.apache.sshd.server.channel.ServerChannelSessionHolder,org.apache.sshd.server.session.ServerSessionHolder,org.apache.sshd.common.session.SessionContextHolder,org.apache.sshd.common.session.SessionHolder<org.apache.sshd.server.session.ServerSession>,SftpFileSystemAccessorProvider,SftpUnsupportedAttributePolicyProvider
- All Known Subinterfaces:
SftpSubsystemProxy
- All Known Implementing Classes:
AbstractSftpSubsystemHelper,SftpSubsystem
public interface SftpSubsystemEnvironment
extends org.apache.sshd.common.session.SessionHolder<org.apache.sshd.server.session.ServerSession>, org.apache.sshd.server.session.ServerSessionHolder, org.apache.sshd.server.channel.ServerChannelSessionHolder, SftpFileSystemAccessorProvider, SftpUnsupportedAttributePolicyProvider
- Author:
- Apache MINA SSHD Project
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault org.apache.sshd.server.session.ServerSessionintMethods 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
default org.apache.sshd.server.session.ServerSession getSession()- Specified by:
getSessionin interfaceorg.apache.sshd.common.session.SessionHolder<org.apache.sshd.server.session.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
-