Interface SftpSubsystemEnvironment

All Superinterfaces:
ServerSessionHolder, SessionContextHolder, SessionHolder<ServerSession>
All Known Subinterfaces:
SftpSubsystemProxy
All Known Implementing Classes:
AbstractSftpSubsystemHelper, SftpSubsystem

public interface SftpSubsystemEnvironment extends SessionHolder<ServerSession>, ServerSessionHolder
  • 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 ServerSession getSession()
      Specified by:
      getSession in interface SessionHolder<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