Package | Description |
---|---|
org.apache.sshd.server.subsystem.sftp |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSftpEventListenerManager |
class |
AbstractSftpSubsystemHelper |
class |
SftpSubsystem
SFTP subsystem
|
class |
SftpSubsystemFactory |
static class |
SftpSubsystemFactory.Builder |
Modifier and Type | Method and Description |
---|---|
default java.nio.file.DirectoryStream<java.nio.file.Path> |
SftpFileSystemAccessor.openDirectory(ServerSession session,
SftpEventListenerManager subsystem,
java.nio.file.Path dir,
java.lang.String handle)
Called when a new directory stream is requested
|
default java.nio.channels.SeekableByteChannel |
SftpFileSystemAccessor.openFile(ServerSession session,
SftpEventListenerManager subsystem,
java.nio.file.Path file,
java.lang.String handle,
java.util.Set<? extends java.nio.file.OpenOption> options,
java.nio.file.attribute.FileAttribute<?>... attrs)
Called whenever a new file is opened
|
default void |
SftpFileSystemAccessor.syncFileData(ServerSession session,
SftpEventListenerManager subsystem,
java.nio.file.Path file,
java.lang.String handle,
java.nio.channels.Channel channel)
Called when file meta-data re-synchronization is required
|
default java.nio.channels.FileLock |
SftpFileSystemAccessor.tryLock(ServerSession session,
SftpEventListenerManager subsystem,
java.nio.file.Path file,
java.lang.String handle,
java.nio.channels.Channel channel,
long position,
long size,
boolean shared)
Called when locking a section of a file is requested
|