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 ServerChannelSessionHolder
getServerChannelSessionMethods inherited from interface ServerSessionHolder
getServerSessionMethods inherited from interface SessionHolder
getSessionContextMethods inherited from interface SftpFileSystemAccessorProvider
getFileSystemAccessorMethods inherited from interface 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
-