Class ShellServiceOptions
java.lang.Object
io.vertx.ext.shell.ShellServerOptions
io.vertx.ext.shell.ShellServiceOptions
The configurations options for the shell service, the shell connectors can be configured
with
TelnetTermOptions, SSHTermOptions and HttpTermOptions.- Author:
- Julien Viet
-
Field Summary
Fields inherited from class ShellServerOptions
DEFAULT_REAPER_INTERVAL, DEFAULT_SESSION_TIMEOUT, DEFAULT_WELCOME_MESSAGE -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionsetHttpOptions(HttpTermOptions httpOptions) setReaperInterval(long reaperInterval) Set the repear interval, i.e the period at which session eviction is performed.setSessionTimeout(long timeoutMillis) Set the session timeout.setSSHOptions(SSHTermOptions sshOptions) Set the SSH options, if the option is null, SSH will not be started.setTelnetOptions(TelnetTermOptions telnetOptions) Set the Telnet options, if the option is null, Telnet will not be started.setWelcomeMessage(String welcomeMessage) Set the shell welcome message, i.e the message displayed in the user console when he connects to the shell.Methods inherited from class ShellServerOptions
getReaperInterval, getSessionTimeout, getWelcomeMessage
-
Constructor Details
-
ShellServiceOptions
public ShellServiceOptions() -
ShellServiceOptions
-
ShellServiceOptions
-
-
Method Details
-
setWelcomeMessage
Description copied from class:ShellServerOptionsSet the shell welcome message, i.e the message displayed in the user console when he connects to the shell.- Overrides:
setWelcomeMessagein classShellServerOptions- Parameters:
welcomeMessage- the welcome message- Returns:
- a reference to this, so the API can be used fluently
-
setSessionTimeout
Description copied from class:ShellServerOptionsSet the session timeout.- Overrides:
setSessionTimeoutin classShellServerOptions- Parameters:
timeoutMillis- the new session timeout- Returns:
- a reference to this, so the API can be used fluently
-
setReaperInterval
Description copied from class:ShellServerOptionsSet the repear interval, i.e the period at which session eviction is performed.- Overrides:
setReaperIntervalin classShellServerOptions- Parameters:
reaperInterval- the new repeat interval- Returns:
- a reference to this, so the API can be used fluently
-
getTelnetOptions
- Returns:
- the Telnet options
-
setTelnetOptions
Set the Telnet options, if the option is null, Telnet will not be started.- Parameters:
telnetOptions- the ssh options- Returns:
- a reference to this, so the API can be used fluently
-
getSSHOptions
- Returns:
- the SSH options
-
setSSHOptions
Set the SSH options, if the option is null, SSH will not be started.- Parameters:
sshOptions- the ssh options- Returns:
- a reference to this, so the API can be used fluently
-
getHttpOptions
-
setHttpOptions
-