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 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

      static final List<Integer> SUPPORTED_SFTP_VERSIONS
    • ALL_SFTP_IMPL

      static final String ALL_SFTP_IMPL
  • Method Details

    • getSession

      default org.apache.sshd.server.session.ServerSession getSession()
      Specified by:
      getSession in interface org.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 chroot location