public class ShellServiceOptions extends ShellServerOptions
TelnetTermOptions, SSHTermOptions and HttpTermOptions.DEFAULT_REAPER_INTERVAL, DEFAULT_SESSION_TIMEOUT, DEFAULT_WELCOME_MESSAGE| Constructor and Description |
|---|
ShellServiceOptions() |
ShellServiceOptions(JsonObject json) |
ShellServiceOptions(ShellServiceOptions that) |
| Modifier and Type | Method and Description |
|---|---|
HttpTermOptions |
getHttpOptions() |
SSHTermOptions |
getSSHOptions() |
TelnetTermOptions |
getTelnetOptions() |
ShellServiceOptions |
setHttpOptions(HttpTermOptions httpOptions) |
ShellServiceOptions |
setReaperInterval(long reaperInterval)
Set the repear interval, i.e the period at which session eviction is performed.
|
ShellServiceOptions |
setSessionTimeout(long timeoutMillis)
Set the session timeout.
|
ShellServiceOptions |
setSSHOptions(SSHTermOptions sshOptions)
Set the SSH options, if the option is null, SSH will not be started.
|
ShellServiceOptions |
setTelnetOptions(TelnetTermOptions telnetOptions)
Set the Telnet options, if the option is null, Telnet will not be started.
|
ShellServiceOptions |
setWelcomeMessage(String welcomeMessage)
Set the shell welcome message, i.e the message displayed in the user console when he connects to the shell.
|
getReaperInterval, getSessionTimeout, getWelcomeMessagepublic ShellServiceOptions()
public ShellServiceOptions(ShellServiceOptions that)
public ShellServiceOptions(JsonObject json)
public ShellServiceOptions setWelcomeMessage(String welcomeMessage)
ShellServerOptionssetWelcomeMessage in class ShellServerOptionswelcomeMessage - the welcome messagepublic ShellServiceOptions setSessionTimeout(long timeoutMillis)
ShellServerOptionssetSessionTimeout in class ShellServerOptionstimeoutMillis - the new session timeoutpublic ShellServiceOptions setReaperInterval(long reaperInterval)
ShellServerOptionssetReaperInterval in class ShellServerOptionsreaperInterval - the new repeat intervalpublic TelnetTermOptions getTelnetOptions()
public ShellServiceOptions setTelnetOptions(TelnetTermOptions telnetOptions)
telnetOptions - the ssh optionspublic SSHTermOptions getSSHOptions()
public ShellServiceOptions setSSHOptions(SSHTermOptions sshOptions)
sshOptions - the ssh optionspublic HttpTermOptions getHttpOptions()
public ShellServiceOptions setHttpOptions(HttpTermOptions httpOptions)
Copyright © 2023 Eclipse. All rights reserved.