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 TypeClassDescriptionclassclassSFTP subsystemMethods in org.apache.sshd.sftp.server with parameters of type SftpSubsystemProxyModifier and TypeMethodDescriptiondefault voidSftpFileSystemAccessor.applyExtensionFileAttributes(SftpSubsystemProxy subsystem, Path file, Map<String, byte[]> extensions, LinkOption... options) Invoked in order to allow processing of custom file attributesdefault voidSftpFileSystemAccessor.closeDirectory(SftpSubsystemProxy subsystem, DirectoryHandle dirHandle, Path dir, String handle, DirectoryStream<Path> ds) Called when a directory stream is no longer requireddefault voidSftpFileSystemAccessor.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 voidSftpFileSystemAccessor.copyFile(SftpSubsystemProxy subsystem, Path src, Path dst, Collection<CopyOption> opts) default voidSftpFileSystemAccessor.createDirectory(SftpSubsystemProxy subsystem, Path path) default voidSftpFileSystemAccessor.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 SeekableByteChannelSftpFileSystemAccessor.openFile(SftpSubsystemProxy subsystem, FileHandle fileHandle, Path file, String handle, Set<? extends OpenOption> options, FileAttribute<?>... attrs) Called whenever a new file is openeddefault voidSftpFileSystemAccessor.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 voidSftpFileSystemAccessor.removeFile(SftpSubsystemProxy subsystem, Path path, boolean isDirectory) default voidSftpFileSystemAccessor.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 UserPrincipalSftpFileSystemAccessor.resolveFileOwner(SftpSubsystemProxy subsystem, Path file, UserPrincipal name) default GroupPrincipalSftpFileSystemAccessor.resolveGroupOwner(SftpSubsystemProxy subsystem, Path file, GroupPrincipal name) default StringSftpFileSystemAccessor.resolveLinkTarget(SftpSubsystemProxy subsystem, Path link) default PathSftpFileSystemAccessor.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 voidSftpFileSystemAccessor.setFileAccessControl(SftpSubsystemProxy subsystem, Path file, List<AclEntry> acl, LinkOption... options) default voidSftpFileSystemAccessor.setFileAttribute(SftpSubsystemProxy subsystem, Path file, String view, String attribute, Object value, LinkOption... options) Sets a view attribute for a local filedefault voidSftpFileSystemAccessor.setFileOwner(SftpSubsystemProxy subsystem, Path file, Principal value, LinkOption... options) default voidSftpFileSystemAccessor.setFilePermissions(SftpSubsystemProxy subsystem, Path file, Set<PosixFilePermission> perms, LinkOption... options) default voidSftpFileSystemAccessor.setGroupOwner(SftpSubsystemProxy subsystem, Path file, Principal value, LinkOption... options) default voidSftpFileSystemAccessor.syncFileData(SftpSubsystemProxy subsystem, FileHandle fileHandle, Path file, String handle, Channel channel) Called when file meta-data re-synchronization is requireddefault FileLockSftpFileSystemAccessor.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