Package | Description |
---|---|
org.apache.sshd.client | |
org.apache.sshd.client.config.hosts | |
org.apache.sshd.client.session |
Modifier and Type | Method and Description |
---|---|
ConnectFuture |
SshClient.connect(HostConfigEntry hostConfig) |
Modifier and Type | Method and Description |
---|---|
static HostConfigEntry |
HostConfigEntry.findBestMatch(java.util.Collection<? extends HostConfigEntry> matches)
Finds the best match out of the given ones.
|
static HostConfigEntry |
HostConfigEntry.findBestMatch(java.lang.Iterable<? extends HostConfigEntry> matches)
Finds the best match out of the given ones.
|
static HostConfigEntry |
HostConfigEntry.findBestMatch(java.util.Iterator<? extends HostConfigEntry> matches)
Finds the best match out of the given ones.
|
static HostConfigEntry |
HostConfigEntry.normalizeEntry(HostConfigEntry entry,
java.lang.String host,
int port,
java.lang.String username) |
HostConfigEntry |
HostConfigEntryResolver.resolveEffectiveHost(java.lang.String host,
int port,
java.lang.String username)
Invoked when creating a new client session in order to allow for overriding
of the original parameters
|
HostConfigEntry |
ConfigFileHostEntryResolver.resolveEffectiveHost(java.lang.String host,
int port,
java.lang.String username) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<HostConfigEntry> |
HostPatternsHolder.findMatchingEntries(java.lang.String host,
java.util.Collection<? extends HostConfigEntry> entries)
Locates all the matching entries for a give host name / address
|
static java.util.List<HostConfigEntry> |
HostPatternsHolder.findMatchingEntries(java.lang.String host,
HostConfigEntry... entries)
Locates all the matching entries for a give host name / address
|
static java.util.List<HostConfigEntry> |
HostConfigEntry.readHostConfigEntries(java.io.BufferedReader rdr)
Reads configuration entries
|
static java.util.List<HostConfigEntry> |
HostConfigEntry.readHostConfigEntries(java.io.File file) |
static java.util.List<HostConfigEntry> |
HostConfigEntry.readHostConfigEntries(java.io.InputStream inStream,
boolean okToClose) |
static java.util.List<HostConfigEntry> |
HostConfigEntry.readHostConfigEntries(java.nio.file.Path path,
java.nio.file.OpenOption... options) |
static java.util.List<HostConfigEntry> |
HostConfigEntry.readHostConfigEntries(java.io.Reader rdr,
boolean okToClose) |
static java.util.List<HostConfigEntry> |
HostConfigEntry.readHostConfigEntries(java.lang.String filePath) |
static java.util.List<HostConfigEntry> |
HostConfigEntry.readHostConfigEntries(java.net.URL url) |
protected java.util.List<HostConfigEntry> |
ConfigFileHostEntryResolver.reloadHostConfigEntries(java.nio.file.Path path,
java.lang.String host,
int port,
java.lang.String username) |
protected java.util.List<HostConfigEntry> |
DefaultConfigFileHostEntryResolver.reloadHostConfigEntries(java.nio.file.Path path,
java.lang.String host,
int port,
java.lang.String username) |
static java.util.List<HostConfigEntry> |
HostConfigEntry.updateEntriesList(java.util.List<HostConfigEntry> entries,
HostConfigEntry curEntry) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<HostConfigEntry> |
HostPatternsHolder.findMatchingEntries(java.lang.String host,
HostConfigEntry... entries)
Locates all the matching entries for a give host name / address
|
static HostConfigEntry |
HostConfigEntry.normalizeEntry(HostConfigEntry entry,
java.lang.String host,
int port,
java.lang.String username) |
boolean |
HostConfigEntry.processGlobalValues(HostConfigEntry globalEntry)
Updates the values that are not already configured with those
from the global entry
|
static java.util.List<HostConfigEntry> |
HostConfigEntry.updateEntriesList(java.util.List<HostConfigEntry> entries,
HostConfigEntry curEntry) |
Modifier and Type | Method and Description |
---|---|
static <A extends java.lang.Appendable> |
HostConfigEntry.appendHostConfigEntries(A sb,
java.util.Collection<? extends HostConfigEntry> entries) |
static HostConfigEntry |
HostConfigEntry.findBestMatch(java.util.Collection<? extends HostConfigEntry> matches)
Finds the best match out of the given ones.
|
static HostConfigEntry |
HostConfigEntry.findBestMatch(java.lang.Iterable<? extends HostConfigEntry> matches)
Finds the best match out of the given ones.
|
static HostConfigEntry |
HostConfigEntry.findBestMatch(java.util.Iterator<? extends HostConfigEntry> matches)
Finds the best match out of the given ones.
|
static java.util.List<HostConfigEntry> |
HostPatternsHolder.findMatchingEntries(java.lang.String host,
java.util.Collection<? extends HostConfigEntry> entries)
Locates all the matching entries for a give host name / address
|
static HostConfigEntryResolver |
HostConfigEntry.toHostConfigEntryResolver(java.util.Collection<? extends HostConfigEntry> entries) |
static java.util.List<HostConfigEntry> |
HostConfigEntry.updateEntriesList(java.util.List<HostConfigEntry> entries,
HostConfigEntry curEntry) |
static void |
HostConfigEntry.writeHostConfigEntries(java.io.File file,
java.util.Collection<? extends HostConfigEntry> entries) |
static void |
HostConfigEntry.writeHostConfigEntries(java.io.OutputStream outputStream,
boolean okToClose,
java.util.Collection<? extends HostConfigEntry> entries) |
static void |
HostConfigEntry.writeHostConfigEntries(java.nio.file.Path path,
java.util.Collection<? extends HostConfigEntry> entries,
java.nio.file.OpenOption... options) |
Modifier and Type | Method and Description |
---|---|
ConnectFuture |
ClientSessionCreator.connect(HostConfigEntry hostConfig) |