Package io.vertx.ext.shell.term
Class SSHTermOptions
- java.lang.Object
- 
- io.vertx.ext.shell.term.SSHTermOptions
 
- 
 public class SSHTermOptions extends Object The SSH term configuration options.- Author:
- Julien Viet
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringDEFAULT_DEFAULT_CHARSETstatic StringDEFAULT_HOSTstatic StringDEFAULT_INPUTRCstatic intDEFAULT_PORT
 - 
Constructor SummaryConstructors Constructor Description SSHTermOptions()SSHTermOptions(JsonObject json)SSHTermOptions(SSHTermOptions that)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonObjectgetAuthOptions()StringgetDefaultCharset()StringgetHost()StringgetIntputrc()KeyCertOptionsgetKeyPairOptions()intgetPort()SSHTermOptionssetAuthOptions(JsonObject authOptions)Set the auth options.SSHTermOptionssetDefaultCharset(String defaultCharset)Set the default charset to use when the client does not specifies one.SSHTermOptionssetHost(String host)Set the hostSSHTermOptionssetIntputrc(String intputrc)The path of the inputrc config.SSHTermOptionssetKeyPairOptions(JksOptions options)Set the key pair options in jks format, aka Java keystore.SSHTermOptionssetPemKeyPairOptions(PemKeyCertOptions options)Set the key pair store options in pem format.SSHTermOptionssetPfxKeyPairOptions(PfxOptions options)Set the key pair options in pfx format.SSHTermOptionssetPort(int port)Set the port
 
- 
- 
- 
Field Detail- 
DEFAULT_HOSTpublic static final String DEFAULT_HOST - See Also:
- Constant Field Values
 
 - 
DEFAULT_PORTpublic static final int DEFAULT_PORT - See Also:
- Constant Field Values
 
 - 
DEFAULT_DEFAULT_CHARSETpublic static final String DEFAULT_DEFAULT_CHARSET 
 - 
DEFAULT_INPUTRCpublic static final String DEFAULT_INPUTRC - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
SSHTermOptionspublic SSHTermOptions() 
 - 
SSHTermOptionspublic SSHTermOptions(SSHTermOptions that) 
 - 
SSHTermOptionspublic SSHTermOptions(JsonObject json) 
 
- 
 - 
Method Detail- 
getHostpublic String getHost() - Returns:
- the host
 
 - 
setHostpublic SSHTermOptions setHost(String host) Set the host- Parameters:
- host- the host
- Returns:
- a reference to this, so the API can be used fluently
 
 - 
getPortpublic int getPort() - Returns:
- the port
 
 - 
setPortpublic SSHTermOptions setPort(int port) Set the port- Parameters:
- port- the port
- Returns:
- a reference to this, so the API can be used fluently
 
 - 
getKeyPairOptionspublic KeyCertOptions getKeyPairOptions() - Returns:
- the key pair options
 
 - 
setKeyPairOptionspublic SSHTermOptions setKeyPairOptions(JksOptions options) Set the key pair options in jks format, aka Java keystore.- Parameters:
- options- the key store in jks format
- Returns:
- a reference to this, so the API can be used fluently
 
 - 
setPfxKeyPairOptionspublic SSHTermOptions setPfxKeyPairOptions(PfxOptions options) Set the key pair options in pfx format.- Parameters:
- options- the key cert options in pfx format
- Returns:
- a reference to this, so the API can be used fluently
 
 - 
setPemKeyPairOptionspublic SSHTermOptions setPemKeyPairOptions(PemKeyCertOptions options) Set the key pair store options in pem format.- Parameters:
- options- the options in pem format
- Returns:
- a reference to this, so the API can be used fluently
 
 - 
getAuthOptionspublic JsonObject getAuthOptions() - Returns:
- the auth options
 
 - 
setAuthOptionspublic SSHTermOptions setAuthOptions(JsonObject authOptions) Set the auth options.- Parameters:
- authOptions- the auth options
- Returns:
- a reference to this, so the API can be used fluently
 
 - 
getDefaultCharsetpublic String getDefaultCharset() 
 - 
setDefaultCharsetpublic SSHTermOptions setDefaultCharset(String defaultCharset) Set the default charset to use when the client does not specifies one.- Parameters:
- defaultCharset- the default charset
- Returns:
- a reference to this, so the API can be used fluently
 
 - 
getIntputrcpublic String getIntputrc() - Returns:
- the current path of the inputrc config
 
 - 
setIntputrcpublic SSHTermOptions setIntputrc(String intputrc) The path of the inputrc config.- Parameters:
- intputrc- the path of the inputrc config
- Returns:
- a reference to this, so the API can be used fluently
 
 
- 
 
-