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(Collection<? extends HostConfigEntry> matches)
Finds the best match out of the given ones.
|
static HostConfigEntry |
HostConfigEntry.findBestMatch(Iterable<? extends HostConfigEntry> matches)
Finds the best match out of the given ones.
|
static HostConfigEntry |
HostConfigEntry.findBestMatch(Iterator<? extends HostConfigEntry> matches)
Finds the best match out of the given ones.
|
static HostConfigEntry |
HostConfigEntry.normalizeEntry(HostConfigEntry entry,
String host,
int port,
String username) |
HostConfigEntry |
HostConfigEntryResolver.resolveEffectiveHost(String host,
int port,
String username)
Invoked when creating a new client session in order to allow for overriding
of the original parameters
|
HostConfigEntry |
ConfigFileHostEntryResolver.resolveEffectiveHost(String host,
int port,
String username) |
Modifier and Type | Method and Description |
---|---|
static List<HostConfigEntry> |
HostConfigEntry.findMatchingEntries(String host,
Collection<? extends HostConfigEntry> entries)
Locates all the matching entries for a give host name / address
|
static List<HostConfigEntry> |
HostConfigEntry.findMatchingEntries(String host,
HostConfigEntry... entries)
Locates all the matching entries for a give host name / address
|
static List<HostConfigEntry> |
HostConfigEntry.readHostConfigEntries(BufferedReader rdr)
Reads configuration entries
|
static List<HostConfigEntry> |
HostConfigEntry.readHostConfigEntries(File file) |
static List<HostConfigEntry> |
HostConfigEntry.readHostConfigEntries(InputStream inStream,
boolean okToClose) |
static List<HostConfigEntry> |
HostConfigEntry.readHostConfigEntries(Path path,
OpenOption... options) |
static List<HostConfigEntry> |
HostConfigEntry.readHostConfigEntries(Reader rdr,
boolean okToClose) |
static List<HostConfigEntry> |
HostConfigEntry.readHostConfigEntries(String filePath) |
static List<HostConfigEntry> |
HostConfigEntry.readHostConfigEntries(URL url) |
protected List<HostConfigEntry> |
DefaultConfigFileHostEntryResolver.reloadHostConfigEntries(Path path,
String host,
int port,
String username) |
protected List<HostConfigEntry> |
ConfigFileHostEntryResolver.reloadHostConfigEntries(Path path,
String host,
int port,
String username) |
static List<HostConfigEntry> |
HostConfigEntry.updateEntriesList(List<HostConfigEntry> entries,
HostConfigEntry curEntry) |
Modifier and Type | Method and Description |
---|---|
static List<HostConfigEntry> |
HostConfigEntry.findMatchingEntries(String host,
HostConfigEntry... entries)
Locates all the matching entries for a give host name / address
|
static HostConfigEntry |
HostConfigEntry.normalizeEntry(HostConfigEntry entry,
String host,
int port,
String username) |
boolean |
HostConfigEntry.processGlobalValues(HostConfigEntry globalEntry)
Updates the values that are not already configured with those
from the global entry
|
static List<HostConfigEntry> |
HostConfigEntry.updateEntriesList(List<HostConfigEntry> entries,
HostConfigEntry curEntry) |
Modifier and Type | Method and Description |
---|---|
static <A extends Appendable> |
HostConfigEntry.appendHostConfigEntries(A sb,
Collection<? extends HostConfigEntry> entries) |
static HostConfigEntry |
HostConfigEntry.findBestMatch(Collection<? extends HostConfigEntry> matches)
Finds the best match out of the given ones.
|
static HostConfigEntry |
HostConfigEntry.findBestMatch(Iterable<? extends HostConfigEntry> matches)
Finds the best match out of the given ones.
|
static HostConfigEntry |
HostConfigEntry.findBestMatch(Iterator<? extends HostConfigEntry> matches)
Finds the best match out of the given ones.
|
static List<HostConfigEntry> |
HostConfigEntry.findMatchingEntries(String host,
Collection<? extends HostConfigEntry> entries)
Locates all the matching entries for a give host name / address
|
static HostConfigEntryResolver |
HostConfigEntry.toHostConfigEntryResolver(Collection<? extends HostConfigEntry> entries) |
static List<HostConfigEntry> |
HostConfigEntry.updateEntriesList(List<HostConfigEntry> entries,
HostConfigEntry curEntry) |
static void |
HostConfigEntry.writeHostConfigEntries(File file,
Collection<? extends HostConfigEntry> entries) |
static void |
HostConfigEntry.writeHostConfigEntries(OutputStream outputStream,
boolean okToClose,
Collection<? extends HostConfigEntry> entries) |
static void |
HostConfigEntry.writeHostConfigEntries(Path path,
Collection<? extends HostConfigEntry> entries,
OpenOption... options) |
Modifier and Type | Method and Description |
---|---|
ConnectFuture |
ClientSessionCreator.connect(HostConfigEntry hostConfig) |
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.