Top Fields Methods
org.apache.sshd.sftp.server

public Interface SftpSubsystemEnvironment

extends SessionHolder<ServerSession>, ServerSessionHolder, ServerChannelSessionHolder, SftpFileSystemAccessorProvider, SftpUnsupportedAttributePolicyProvider
Known Direct Subinterfaces
org.apache.sshd.sftp.server.SftpSubsystemProxy
Imports
java.nio.file.Path, java.util.Collections, .List, java.util.stream.Collectors, .IntStream, org.apache.sshd.common.session.SessionHolder, org.apache.sshd.common.util.GenericUtils, org.apache.sshd.server.channel.ServerChannelSessionHolder, org.apache.sshd.server.session.ServerSession, .ServerSessionHolder, org.apache.sshd.sftp.common.SftpConstants

Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
public static final String
public static final int
public static final int
public static final List<Integer>

Method Summary

Modifier and TypeMethod and Description
public Path

Returns:

The default root directory used to resolve relative paths - a.k.a. the chroot location
getDefaultDirectory
()

public default ServerSession
public int

Returns:

The negotiated version
getVersion
()

Inherited from org.apache.sshd.common.session.SessionHolder:
getSessionContext
Inherited from org.apache.sshd.server.channel.ServerChannelSessionHolder:
getServerChannelSession
Inherited from org.apache.sshd.server.session.ServerSessionHolder:
getServerSession
Inherited from org.apache.sshd.sftp.server.SftpFileSystemAccessorProvider:
getFileSystemAccessor
Inherited from org.apache.sshd.sftp.server.SftpUnsupportedAttributePolicyProvider:
getUnsupportedAttributePolicy

Field Detail

ALL_SFTP_IMPLback to summary
public static final String ALL_SFTP_IMPL
HIGHER_SFTP_IMPLback to summary
public static final int HIGHER_SFTP_IMPL
LOWER_SFTP_IMPLback to summary
public static final int LOWER_SFTP_IMPL
SUPPORTED_SFTP_VERSIONSback to summary
public static final List<Integer> SUPPORTED_SFTP_VERSIONS

Method Detail

getDefaultDirectoryback to summary
public Path getDefaultDirectory()
Returns:Path

The default root directory used to resolve relative paths - a.k.a. the chroot location

getSessionback to summary
public default ServerSession getSession()

Implements org.apache.sshd.common.session.SessionHolder.getSession.

Annotations
@Override
getVersionback to summary
public int getVersion()
Returns:int

The negotiated version