Uses of Interface
org.apache.sshd.client.subsystem.sftp.SftpVersionSelector
-
Packages that use SftpVersionSelector Package Description org.apache.sshd.client.subsystem.sftp org.apache.sshd.client.subsystem.sftp.fs org.apache.sshd.client.subsystem.sftp.impl -
-
Uses of SftpVersionSelector in org.apache.sshd.client.subsystem.sftp
Classes in org.apache.sshd.client.subsystem.sftp that implement SftpVersionSelector Modifier and Type Class Description static class
SftpVersionSelector.NamedVersionSelector
Fields in org.apache.sshd.client.subsystem.sftp declared as SftpVersionSelector Modifier and Type Field Description static SftpVersionSelector
SftpVersionSelector. CURRENT
AnSftpVersionSelector
that returns the current versionstatic SftpVersionSelector
SftpVersionSelector. MAXIMUM
AnSftpVersionSelector
that returns the maximum available versionstatic SftpVersionSelector
SftpVersionSelector. MINIMUM
AnSftpVersionSelector
that returns the maximum available versionMethods in org.apache.sshd.client.subsystem.sftp that return SftpVersionSelector Modifier and Type Method Description static SftpVersionSelector
SftpVersionSelector. fixedVersionSelector(int version)
Creates a selector the always returns the requested (fixed version) regardless of what the current or reported available versions are.static SftpVersionSelector
SftpVersionSelector. preferredVersionSelector(int... preferred)
Selects a version in order of preference - if none of the preferred versions is listed as available then an exception is thrown when theselectVersion(ClientSession, int, List)
method is invokedstatic SftpVersionSelector
SftpVersionSelector. preferredVersionSelector(Iterable<? extends Number> preferred)
Selects a version in order of preference - if none of the preferred versions is listed as available then an exception is thrown when theselectVersion(ClientSession, int, List)
method is invokedMethods in org.apache.sshd.client.subsystem.sftp with parameters of type SftpVersionSelector Modifier and Type Method Description SftpClient
SftpClientFactory. createSftpClient(ClientSession session, SftpVersionSelector selector)
default SftpFileSystem
SftpClientFactory. createSftpFileSystem(ClientSession session, SftpVersionSelector selector)
SftpFileSystem
SftpClientFactory. createSftpFileSystem(ClientSession session, SftpVersionSelector selector, int readBufferSize, int writeBufferSize)
Constructors in org.apache.sshd.client.subsystem.sftp with parameters of type SftpVersionSelector Constructor Description NamedVersionSelector(String name, SftpVersionSelector selector)
-
Uses of SftpVersionSelector in org.apache.sshd.client.subsystem.sftp.fs
Methods in org.apache.sshd.client.subsystem.sftp.fs that return SftpVersionSelector Modifier and Type Method Description SftpVersionSelector
SftpFileSystem. getSftpVersionSelector()
SftpVersionSelector
SftpFileSystemProvider. getSftpVersionSelector()
protected SftpVersionSelector
SftpFileSystemProvider. resolveSftpVersionSelector(URI uri, SftpVersionSelector defaultSelector, PropertyResolver resolver)
Methods in org.apache.sshd.client.subsystem.sftp.fs with parameters of type SftpVersionSelector Modifier and Type Method Description default SftpFileSystem
SftpFileSystemClientSessionInitializer. createSftpFileSystem(SftpFileSystemProvider provider, SftpFileSystemInitializationContext context, ClientSession session, SftpVersionSelector selector)
Invoked by theSftpFileSystemProvider.newFileSystem(java.net.URI, Map)
method in order to create theSftpFileSystem
once session has been authenticated.protected SftpVersionSelector
SftpFileSystemProvider. resolveSftpVersionSelector(URI uri, SftpVersionSelector defaultSelector, PropertyResolver resolver)
Constructors in org.apache.sshd.client.subsystem.sftp.fs with parameters of type SftpVersionSelector Constructor Description SftpFileSystem(SftpFileSystemProvider provider, String id, ClientSession session, SftpClientFactory factory, SftpVersionSelector selector)
SftpFileSystemProvider(SshClient client, SftpClientFactory factory, SftpVersionSelector selector)
SftpFileSystemProvider(SshClient client, SftpVersionSelector selector)
SftpFileSystemProvider(SftpVersionSelector selector)
-
Uses of SftpVersionSelector in org.apache.sshd.client.subsystem.sftp.impl
Methods in org.apache.sshd.client.subsystem.sftp.impl with parameters of type SftpVersionSelector Modifier and Type Method Description protected DefaultSftpClient
DefaultSftpClientFactory. createDefaultSftpClient(ClientSession session, SftpVersionSelector selector)
SftpClient
DefaultSftpClientFactory. createSftpClient(ClientSession session, SftpVersionSelector selector)
SftpFileSystem
DefaultSftpClientFactory. createSftpFileSystem(ClientSession session, SftpVersionSelector selector, int readBufferSize, int writeBufferSize)
int
DefaultSftpClient. negotiateVersion(SftpVersionSelector selector)
-