public class SSHTermOptions extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DEFAULT_CHARSET |
static String |
DEFAULT_HOST |
static String |
DEFAULT_INPUTRC |
static int |
DEFAULT_PORT |
Constructor and Description |
---|
SSHTermOptions() |
SSHTermOptions(JsonObject json) |
SSHTermOptions(SSHTermOptions that) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
getAuthOptions() |
String |
getDefaultCharset() |
String |
getHost() |
String |
getIntputrc() |
KeyCertOptions |
getKeyPairOptions() |
int |
getPort() |
SSHTermOptions |
setAuthOptions(JsonObject authOptions)
Set the auth options.
|
SSHTermOptions |
setDefaultCharset(String defaultCharset)
Set the default charset to use when the client does not specifies one.
|
SSHTermOptions |
setHost(String host)
Set the host
|
SSHTermOptions |
setIntputrc(String intputrc)
The path of the inputrc config.
|
SSHTermOptions |
setKeyPairOptions(JksOptions options)
Set the key pair options in jks format, aka Java keystore.
|
SSHTermOptions |
setPemKeyPairOptions(PemKeyCertOptions options)
Set the key pair store options in pem format.
|
SSHTermOptions |
setPfxKeyPairOptions(PfxOptions options)
Set the key pair options in pfx format.
|
SSHTermOptions |
setPort(int port)
Set the port
|
public static final String DEFAULT_HOST
public static final int DEFAULT_PORT
public static final String DEFAULT_DEFAULT_CHARSET
public static final String DEFAULT_INPUTRC
public SSHTermOptions()
public SSHTermOptions(SSHTermOptions that)
public SSHTermOptions(JsonObject json)
public String getHost()
public SSHTermOptions setHost(String host)
host
- the hostpublic int getPort()
public SSHTermOptions setPort(int port)
port
- the portpublic KeyCertOptions getKeyPairOptions()
public SSHTermOptions setKeyPairOptions(JksOptions options)
options
- the key store in jks formatpublic SSHTermOptions setPfxKeyPairOptions(PfxOptions options)
options
- the key cert options in pfx formatpublic SSHTermOptions setPemKeyPairOptions(PemKeyCertOptions options)
options
- the options in pem formatpublic JsonObject getAuthOptions()
public SSHTermOptions setAuthOptions(JsonObject authOptions)
authOptions
- the auth optionspublic String getDefaultCharset()
public SSHTermOptions setDefaultCharset(String defaultCharset)
defaultCharset
- the default charsetpublic String getIntputrc()
public SSHTermOptions setIntputrc(String intputrc)
intputrc
- the path of the inputrc configCopyright © 2024 Eclipse. All rights reserved.