protected int |
AbstractSftpSubsystemHelper.appendAclSupportedExtension(Buffer buffer,
ServerSession session) |
|
protected void |
AbstractSftpSubsystemHelper.appendNewlineExtension(Buffer buffer,
ServerSession session) |
Appends the "newline" extension to the buffer.
|
protected List<AbstractOpenSSHExtensionParser.OpenSSHExtension> |
AbstractSftpSubsystemHelper.appendOpenSSHExtensions(Buffer buffer,
ServerSession session) |
|
protected void |
AbstractSftpSubsystemHelper.appendVendorIdExtension(Buffer buffer,
Map<String,?> versionProperties,
ServerSession session) |
Appends the "vendor-id" extension to the buffer.
|
protected void |
AbstractSftpSubsystemHelper.appendVersionsExtension(Buffer buffer,
String value,
ServerSession session) |
Appends the "versions" extension to the buffer.
|
void |
AbstractSftpEventListenerAdapter.blocked(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length,
int mask,
Throwable thrown) |
|
default void |
SftpEventListener.blocked(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length,
int mask,
Throwable thrown) |
Called after blocking a file section
|
void |
AbstractSftpEventListenerAdapter.blocking(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length,
int mask) |
|
default void |
SftpEventListener.blocking(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length,
int mask) |
Called prior to blocking a file section
|
default void |
SftpEventListener.closed(ServerSession session,
String remoteHandle,
Handle localHandle,
Throwable thrown) |
Specified file / directory has been closed
|
default void |
SftpFileSystemAccessor.closeDirectory(ServerSession session,
SftpSubsystemProxy subsystem,
DirectoryHandle dirHandle,
Path dir,
String handle,
DirectoryStream<Path> ds) |
Called when a directory stream is no longer required
|
default void |
SftpFileSystemAccessor.closeFile(ServerSession session,
SftpSubsystemProxy subsystem,
FileHandle fileHandle,
Path file,
String handle,
Channel channel,
Set<? extends OpenOption> options) |
Called to inform the accessor that it should close the file
|
void |
AbstractSftpEventListenerAdapter.closing(ServerSession session,
String remoteHandle,
Handle localHandle) |
|
default void |
SftpEventListener.closing(ServerSession session,
String remoteHandle,
Handle localHandle) |
Specified file / directory about to be closed
|
default void |
SftpFileSystemAccessor.copyFile(ServerSession session,
SftpSubsystemProxy subsystem,
Path src,
Path dst,
Collection<CopyOption> opts) |
|
void |
AbstractSftpEventListenerAdapter.created(ServerSession session,
Path path,
Map<String,?> attrs,
Throwable thrown) |
|
default void |
SftpEventListener.created(ServerSession session,
Path path,
Map<String,?> attrs,
Throwable thrown) |
Called after creating a directory
|
default void |
SftpFileSystemAccessor.createDirectory(ServerSession session,
SftpSubsystemProxy subsystem,
Path path) |
|
default void |
SftpFileSystemAccessor.createLink(ServerSession session,
SftpSubsystemProxy subsystem,
Path link,
Path existing,
boolean symLink) |
Invoked in order to create a link to a path
|
void |
AbstractSftpEventListenerAdapter.creating(ServerSession session,
Path path,
Map<String,?> attrs) |
|
default void |
SftpEventListener.creating(ServerSession session,
Path path,
Map<String,?> attrs) |
Called prior to creating a directory
|
void |
AbstractSftpEventListenerAdapter.destroying(ServerSession session) |
|
default void |
SftpEventListener.destroying(ServerSession session) |
Called when subsystem is destroyed since it was closed
|
default void |
SftpEventListener.exiting(ServerSession session,
Handle handle) |
Called when subsystem is exiting due to being destroyed
|
protected Map<String,OptionalFeature> |
AbstractSftpSubsystemHelper.getSupportedClientExtensions(ServerSession session) |
|
void |
AbstractSftpEventListenerAdapter.initialized(ServerSession session,
int version) |
|
default void |
SftpEventListener.initialized(ServerSession session,
int version) |
Called when the SFTP protocol has been initialized
|
protected void |
SftpSubsystem.initializeSessionRelatedMember(ServerSession session,
ChannelSession channel) |
|
void |
AbstractSftpEventListenerAdapter.linked(ServerSession session,
Path source,
Path target,
boolean symLink,
Throwable thrown) |
|
default void |
SftpEventListener.linked(ServerSession session,
Path source,
Path target,
boolean symLink,
Throwable thrown) |
Called after creating a link
|
void |
AbstractSftpEventListenerAdapter.linking(ServerSession session,
Path source,
Path target,
boolean symLink) |
|
default void |
SftpEventListener.linking(ServerSession session,
Path source,
Path target,
boolean symLink) |
Called prior to creating a link
|
void |
AbstractSftpEventListenerAdapter.modifiedAttributes(ServerSession session,
Path path,
Map<String,?> attrs,
Throwable thrown) |
|
default void |
SftpEventListener.modifiedAttributes(ServerSession session,
Path path,
Map<String,?> attrs,
Throwable thrown) |
Called after modifying the attributes of a file / directory
|
void |
AbstractSftpEventListenerAdapter.modifyingAttributes(ServerSession session,
Path path,
Map<String,?> attrs) |
|
default void |
SftpEventListener.modifyingAttributes(ServerSession session,
Path path,
Map<String,?> attrs) |
Called prior to modifying the attributes of a file / directory
|
void |
AbstractSftpEventListenerAdapter.moved(ServerSession session,
Path srcPath,
Path dstPath,
Collection<CopyOption> opts,
Throwable thrown) |
|
default void |
SftpEventListener.moved(ServerSession session,
Path srcPath,
Path dstPath,
Collection<CopyOption> opts,
Throwable thrown) |
Called after renaming a file / directory
|
void |
AbstractSftpEventListenerAdapter.moving(ServerSession session,
Path srcPath,
Path dstPath,
Collection<CopyOption> opts) |
|
default void |
SftpEventListener.moving(ServerSession session,
Path srcPath,
Path dstPath,
Collection<CopyOption> opts) |
Called prior to renaming a file / directory
|
void |
AbstractSftpEventListenerAdapter.open(ServerSession session,
String remoteHandle,
Handle localHandle) |
|
default void |
SftpEventListener.open(ServerSession session,
String remoteHandle,
Handle localHandle) |
Specified file / directory has been opened
|
default DirectoryStream<Path> |
SftpFileSystemAccessor.openDirectory(ServerSession session,
SftpSubsystemProxy subsystem,
DirectoryHandle dirHandle,
Path dir,
String handle) |
Called when a new directory stream is requested
|
default void |
SftpEventListener.openFailed(ServerSession session,
String remotePath,
Path localPath,
boolean isDirectory,
Throwable thrown) |
|
default SeekableByteChannel |
SftpFileSystemAccessor.openFile(ServerSession session,
SftpSubsystemProxy subsystem,
FileHandle fileHandle,
Path file,
String handle,
Set<? extends OpenOption> options,
FileAttribute<?>... attrs) |
Called whenever a new file is opened
|
void |
AbstractSftpEventListenerAdapter.opening(ServerSession session,
String remoteHandle,
Handle localHandle) |
|
default void |
SftpEventListener.opening(ServerSession session,
String remoteHandle,
Handle localHandle) |
Specified file / directory is being opened
|
default void |
SftpFileSystemAccessor.putRemoteFileName(ServerSession session,
SftpSubsystemProxy subsystem,
Path path,
Buffer buf,
String name,
boolean shortName) |
Invoked in order to encode the outgoing referenced file name/path
|
void |
AbstractSftpEventListenerAdapter.read(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen,
int readLen,
Throwable thrown) |
|
default void |
SftpEventListener.read(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen,
int readLen,
Throwable thrown) |
Result of reading from a file
|
void |
AbstractSftpEventListenerAdapter.readEntries(ServerSession session,
String remoteHandle,
DirectoryHandle localHandle,
Map<String,Path> entries) |
|
default void |
SftpEventListener.readEntries(ServerSession session,
String remoteHandle,
DirectoryHandle localHandle,
Map<String,Path> entries) |
Result of reading entries from a directory - Note: it may be a partial result if the directory
contains more entries than can be accommodated in the response
|
default Map<String,?> |
SftpFileSystemAccessor.readFileAttributes(ServerSession session,
SftpSubsystemProxy subsystem,
Path file,
String view,
LinkOption... options) |
Invoked when required to retrieve file attributes for a specific file system view
|
void |
AbstractSftpEventListenerAdapter.reading(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen) |
|
default void |
SftpEventListener.reading(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen) |
Preparing to read from a file
|
default void |
SftpEventListener.readingEntries(ServerSession session,
String remoteHandle,
DirectoryHandle localHandle) |
About to read entries from a directory - Note: might not be the 1st time it is called for the directory in
case several iterations are required in order to go through all the entries in the directory
|
default void |
SftpEventListener.received(ServerSession session,
int type,
int id) |
Called when a SFTP request has been received before it is processed.
|
default void |
SftpEventListener.receivedExtension(ServerSession session,
String extension,
int id) |
|
void |
AbstractSftpEventListenerAdapter.removed(ServerSession session,
Path path,
boolean isDirectory,
Throwable thrown) |
|
default void |
SftpEventListener.removed(ServerSession session,
Path path,
boolean isDirectory,
Throwable thrown) |
Called after a file has been removed
|
default void |
SftpFileSystemAccessor.removeFile(ServerSession session,
SftpSubsystemProxy subsystem,
Path path,
boolean isDirectory) |
|
void |
AbstractSftpEventListenerAdapter.removing(ServerSession session,
Path path,
boolean isDirectory) |
|
default void |
SftpEventListener.removing(ServerSession session,
Path path,
boolean isDirectory) |
Called prior to removing a file
|
default void |
SftpFileSystemAccessor.renameFile(ServerSession session,
SftpSubsystemProxy subsystem,
Path oldPath,
Path newPath,
Collection<CopyOption> opts) |
|
protected Collection<Integer> |
AbstractSftpSubsystemHelper.resolveAclSupportedCapabilities(ServerSession session) |
|
default LinkOption[] |
SftpFileSystemAccessor.resolveFileAccessLinkOptions(ServerSession session,
SftpSubsystemProxy subsystem,
Path file,
int cmd,
String extension,
boolean followLinks) |
Invoked in order to determine the symbolic link follow options
|
default UserPrincipal |
SftpFileSystemAccessor.resolveFileOwner(ServerSession session,
SftpSubsystemProxy subsystem,
Path file,
UserPrincipal name) |
|
default GroupPrincipal |
SftpFileSystemAccessor.resolveGroupOwner(ServerSession session,
SftpSubsystemProxy subsystem,
Path file,
GroupPrincipal name) |
|
default String |
SftpFileSystemAccessor.resolveLinkTarget(ServerSession session,
SftpSubsystemProxy subsystem,
Path link) |
|
default Path |
SftpFileSystemAccessor.resolveLocalFilePath(ServerSession session,
SftpSubsystemProxy subsystem,
Path rootDir,
String remotePath) |
Invoked in order to resolve remote file paths reference by the client into ones accessible by the server
|
protected String |
AbstractSftpSubsystemHelper.resolveNewlineValue(ServerSession session) |
|
protected List<AbstractOpenSSHExtensionParser.OpenSSHExtension> |
AbstractSftpSubsystemHelper.resolveOpenSSHExtensions(ServerSession session) |
|
default void |
SftpFileSystemAccessor.setFileAccessControl(ServerSession session,
SftpSubsystemProxy subsystem,
Path file,
List<AclEntry> acl,
LinkOption... options) |
|
default void |
SftpFileSystemAccessor.setFileAttribute(ServerSession session,
SftpSubsystemProxy subsystem,
Path file,
String view,
String attribute,
Object value,
LinkOption... options) |
Sets a view attribute for a local file
|
default void |
SftpFileSystemAccessor.setFileOwner(ServerSession session,
SftpSubsystemProxy subsystem,
Path file,
Principal value,
LinkOption... options) |
|
default void |
SftpFileSystemAccessor.setFilePermissions(ServerSession session,
SftpSubsystemProxy subsystem,
Path file,
Set<PosixFilePermission> perms,
LinkOption... options) |
|
default void |
SftpFileSystemAccessor.setGroupOwner(ServerSession session,
SftpSubsystemProxy subsystem,
Path file,
Principal value,
LinkOption... options) |
|
default void |
SftpFileSystemAccessor.syncFileData(ServerSession session,
SftpSubsystemProxy subsystem,
FileHandle fileHandle,
Path file,
String handle,
Channel channel) |
Called when file meta-data re-synchronization is required
|
default FileLock |
SftpFileSystemAccessor.tryLock(ServerSession session,
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
|
void |
AbstractSftpEventListenerAdapter.unblocked(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length,
Throwable thrown) |
|
default void |
SftpEventListener.unblocked(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length,
Throwable thrown) |
Called prior to un-blocking a file section
|
void |
AbstractSftpEventListenerAdapter.unblocking(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length) |
|
default void |
SftpEventListener.unblocking(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length) |
Called prior to un-blocking a file section
|
void |
AbstractSftpEventListenerAdapter.writing(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen) |
|
default void |
SftpEventListener.writing(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen) |
Preparing to write to file
|
void |
AbstractSftpEventListenerAdapter.written(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen,
Throwable thrown) |
|
default void |
SftpEventListener.written(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen,
Throwable thrown) |
Finished to writing to file
|