Uses of Interface
org.apache.sshd.sftp.server.SftpSubsystemProxy
Packages that use SftpSubsystemProxy
-
Uses of SftpSubsystemProxy in org.apache.sshd.sftp.server
Classes in org.apache.sshd.sftp.server that implement SftpSubsystemProxyModifier and TypeClassDescriptionclass
class
SFTP subsystemMethods in org.apache.sshd.sftp.server with parameters of type SftpSubsystemProxyModifier and TypeMethodDescriptiondefault void
SftpFileSystemAccessor.applyExtensionFileAttributes
(SftpSubsystemProxy subsystem, Path file, Map<String, byte[]> extensions, LinkOption... options) Invoked in order to allow processing of custom file attributesdefault void
SftpFileSystemAccessor.closeDirectory
(SftpSubsystemProxy subsystem, DirectoryHandle dirHandle, Path dir, String handle, DirectoryStream<Path> ds) Called when a directory stream is no longer requireddefault void
SftpFileSystemAccessor.closeFile
(SftpSubsystemProxy subsystem, FileHandle fileHandle, Path file, String handle, Channel channel, Set<? extends OpenOption> options) Called to inform the accessor that it should close the filedefault void
SftpFileSystemAccessor.copyFile
(SftpSubsystemProxy subsystem, Path src, Path dst, Collection<CopyOption> opts) default void
SftpFileSystemAccessor.createDirectory
(SftpSubsystemProxy subsystem, Path path) default void
SftpFileSystemAccessor.createLink
(SftpSubsystemProxy subsystem, Path link, Path existing, boolean symLink) Invoked in order to create a link to a pathdefault DirectoryStream
<Path> SftpFileSystemAccessor.openDirectory
(SftpSubsystemProxy subsystem, DirectoryHandle dirHandle, Path dir, String handle, LinkOption... linkOptions) Called when a new directory stream is requesteddefault SeekableByteChannel
SftpFileSystemAccessor.openFile
(SftpSubsystemProxy subsystem, FileHandle fileHandle, Path file, String handle, Set<? extends OpenOption> options, FileAttribute<?>... attrs) Called whenever a new file is openeddefault void
SftpFileSystemAccessor.putRemoteFileName
(SftpSubsystemProxy subsystem, Path path, Buffer buf, String name, boolean shortName) Invoked in order to encode the outgoing referenced file name/pathSftpFileSystemAccessor.readFileAttributes
(SftpSubsystemProxy subsystem, Path file, String view, LinkOption... options) Invoked when required to retrieve file attributes for a specific file system viewdefault void
SftpFileSystemAccessor.removeFile
(SftpSubsystemProxy subsystem, Path path, boolean isDirectory) default void
SftpFileSystemAccessor.renameFile
(SftpSubsystemProxy subsystem, Path oldPath, Path newPath, Collection<CopyOption> opts) default LinkOption[]
SftpFileSystemAccessor.resolveFileAccessLinkOptions
(SftpSubsystemProxy subsystem, Path file, int cmd, String extension, boolean followLinks) Invoked in order to determine the symbolic link follow optionsdefault UserPrincipal
SftpFileSystemAccessor.resolveFileOwner
(SftpSubsystemProxy subsystem, Path file, UserPrincipal name) default GroupPrincipal
SftpFileSystemAccessor.resolveGroupOwner
(SftpSubsystemProxy subsystem, Path file, GroupPrincipal name) default String
SftpFileSystemAccessor.resolveLinkTarget
(SftpSubsystemProxy subsystem, Path link) default Path
SftpFileSystemAccessor.resolveLocalFilePath
(SftpSubsystemProxy subsystem, Path rootDir, String remotePath) Invoked in order to resolve remote file paths reference by the client into ones accessible by the serverdefault NavigableMap
<String, Object> SftpFileSystemAccessor.resolveReportedFileAttributes
(SftpSubsystemProxy subsystem, Path file, int flags, NavigableMap<String, Object> attrs, LinkOption... options) Invoked in order to allow intervention to the reported file attributes - e.g., add custom/extended propertiesdefault void
SftpFileSystemAccessor.setFileAccessControl
(SftpSubsystemProxy subsystem, Path file, List<AclEntry> acl, LinkOption... options) default void
SftpFileSystemAccessor.setFileAttribute
(SftpSubsystemProxy subsystem, Path file, String view, String attribute, Object value, LinkOption... options) Sets a view attribute for a local filedefault void
SftpFileSystemAccessor.setFileOwner
(SftpSubsystemProxy subsystem, Path file, Principal value, LinkOption... options) default void
SftpFileSystemAccessor.setFilePermissions
(SftpSubsystemProxy subsystem, Path file, Set<PosixFilePermission> perms, LinkOption... options) default void
SftpFileSystemAccessor.setGroupOwner
(SftpSubsystemProxy subsystem, Path file, Principal value, LinkOption... options) default void
SftpFileSystemAccessor.syncFileData
(SftpSubsystemProxy subsystem, FileHandle fileHandle, Path file, String handle, Channel channel) Called when file meta-data re-synchronization is requireddefault FileLock
SftpFileSystemAccessor.tryLock
(SftpSubsystemProxy subsystem, FileHandle fileHandle, Path file, String handle, Channel channel, long position, long size, boolean shared) Called when locking a section of a file is requested