public class TelnetTermOptions extends NetServerOptions
NetServerOptions.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CHARSET |
static boolean |
DEFAULT_IN_BINARY |
static String |
DEFAULT_INPUTRC |
static boolean |
DEFAULT_OUT_BINARY |
DEFAULT_ACCEPT_BACKLOG, DEFAULT_CLIENT_AUTH, DEFAULT_HOST, DEFAULT_PORT, DEFAULT_PROXY_PROTOCOL_TIMEOUT, DEFAULT_PROXY_PROTOCOL_TIMEOUT_TIME_UNIT, DEFAULT_SNI, DEFAULT_USE_PROXY_PROTOCOLDEFAULT_ENABLED_SECURE_TRANSPORT_PROTOCOLS, DEFAULT_IDLE_TIMEOUT, DEFAULT_IDLE_TIMEOUT_TIME_UNIT, DEFAULT_READ_IDLE_TIMEOUT, DEFAULT_SO_LINGER, DEFAULT_SSL, DEFAULT_SSL_ENGINE, DEFAULT_SSL_HANDSHAKE_TIMEOUT, DEFAULT_SSL_HANDSHAKE_TIMEOUT_TIME_UNIT, DEFAULT_TCP_CORK, DEFAULT_TCP_FAST_OPEN, DEFAULT_TCP_KEEP_ALIVE, DEFAULT_TCP_NO_DELAY, DEFAULT_TCP_QUICKACK, DEFAULT_USE_ALPN, DEFAULT_WRITE_IDLE_TIMEOUTDEFAULT_LOG_ENABLED, DEFAULT_RECEIVE_BUFFER_SIZE, DEFAULT_REUSE_ADDRESS, DEFAULT_REUSE_PORT, DEFAULT_SEND_BUFFER_SIZE, DEFAULT_TRAFFIC_CLASS| Constructor and Description |
|---|
TelnetTermOptions() |
TelnetTermOptions(JsonObject json) |
TelnetTermOptions(TelnetTermOptions other) |
| Modifier and Type | Method and Description |
|---|---|
TelnetTermOptions |
addCrlPath(String crlPath)
Add a CRL path
|
TelnetTermOptions |
addCrlValue(Buffer crlValue)
Add a CRL value
|
TelnetTermOptions |
addEnabledCipherSuite(String suite)
Add an enabled cipher suite, appended to the ordered suites.
|
String |
getCharset() |
boolean |
getInBinary() |
String |
getIntputrc() |
boolean |
getOutBinary() |
TelnetTermOptions |
setAcceptBacklog(int acceptBacklog)
Set the accept back log
|
TelnetTermOptions |
setCharset(String charset)
Set the charset to use when binary mode is active, see
setInBinary(boolean) and setOutBinary(boolean). |
TelnetTermOptions |
setHost(String host)
Set the host
|
TelnetTermOptions |
setIdleTimeout(int idleTimeout)
Set the idle timeout, default time unit is seconds.
|
TelnetTermOptions |
setInBinary(boolean inBinary)
Set the telnet connection to negociate binary data format when receiving from the client, the default value is true.
|
TelnetTermOptions |
setIntputrc(String intputrc)
The path of the inputrc config.
|
TelnetTermOptions |
setKeyStoreOptions(JksOptions options)
Set the key/cert options in jks format, aka Java keystore.
|
TelnetTermOptions |
setOutBinary(boolean outBinary)
Set the telnet connection to negociate binary data format when sending to the client, the default value is true.
|
TelnetTermOptions |
setPemKeyCertOptions(PemKeyCertOptions options)
Set the key/cert store options in pem format.
|
TelnetTermOptions |
setPemTrustOptions(PemTrustOptions options)
Set the trust options in pem format
|
TelnetTermOptions |
setPfxKeyCertOptions(PfxOptions options)
Set the key/cert options in pfx format.
|
TelnetTermOptions |
setPfxTrustOptions(PfxOptions options)
Set the trust options in pfx format
|
TelnetTermOptions |
setPort(int port)
Set the port
|
TelnetTermOptions |
setReceiveBufferSize(int receiveBufferSize)
Set the TCP receive buffer size
|
TelnetTermOptions |
setReuseAddress(boolean reuseAddress)
Set the value of reuse address
|
TelnetTermOptions |
setSendBufferSize(int sendBufferSize)
Set the TCP send buffer size
|
TelnetTermOptions |
setSoLinger(int soLinger)
Set whether SO_linger keep alive is enabled
|
TelnetTermOptions |
setSsl(boolean ssl)
Set whether SSL/TLS is enabled
|
TelnetTermOptions |
setTcpKeepAlive(boolean tcpKeepAlive)
Set whether TCP keep alive is enabled
|
TelnetTermOptions |
setTcpNoDelay(boolean tcpNoDelay)
Set whether TCP no delay is enabled
|
TelnetTermOptions |
setTrafficClass(int trafficClass)
Set the value of traffic class
|
TelnetTermOptions |
setTrustStoreOptions(JksOptions options)
Set the trust options in jks format, aka Java truststore
|
addEnabledSecureTransportProtocol, getAcceptBacklog, getClientAuth, getHost, getPort, getProxyProtocolTimeout, getProxyProtocolTimeoutUnit, isSni, isUseProxyProtocol, removeEnabledSecureTransportProtocol, setClientAuth, setEnabledSecureTransportProtocols, setIdleTimeoutUnit, setJdkSslEngineOptions, setKeyCertOptions, setLogActivity, setOpenSslEngineOptions, setProxyProtocolTimeout, setProxyProtocolTimeoutUnit, setReadIdleTimeout, setReusePort, setSni, setSslEngineOptions, setSslHandshakeTimeout, setSslHandshakeTimeoutUnit, setTcpCork, setTcpFastOpen, setTcpQuickAck, setTrustOptions, setUseAlpn, setUseProxyProtocol, setWriteIdleTimeout, toJsongetCrlPaths, getCrlValues, getEnabledCipherSuites, getEnabledSecureTransportProtocols, getIdleTimeout, getIdleTimeoutUnit, getJdkSslEngineOptions, getKeyCertOptions, getKeyStoreOptions, getOpenSslEngineOptions, getPemKeyCertOptions, getPemTrustOptions, getPfxKeyCertOptions, getPfxTrustOptions, getReadIdleTimeout, getSoLinger, getSslEngineOptions, getSslHandshakeTimeout, getSslHandshakeTimeoutUnit, getTrustOptions, getTrustStoreOptions, getWriteIdleTimeout, isSsl, isTcpCork, isTcpFastOpen, isTcpKeepAlive, isTcpNoDelay, isTcpQuickAck, isUseAlpngetLogActivity, getReceiveBufferSize, getSendBufferSize, getTrafficClass, isReuseAddress, isReusePortpublic static final boolean DEFAULT_IN_BINARY
public static final boolean DEFAULT_OUT_BINARY
public static final String DEFAULT_CHARSET
public static final String DEFAULT_INPUTRC
public TelnetTermOptions()
public TelnetTermOptions(TelnetTermOptions other)
public TelnetTermOptions(JsonObject json)
public TelnetTermOptions setSendBufferSize(int sendBufferSize)
NetworkOptionssetSendBufferSize in class NetServerOptionssendBufferSize - the buffers size, in bytespublic TelnetTermOptions setReceiveBufferSize(int receiveBufferSize)
NetworkOptionssetReceiveBufferSize in class NetServerOptionsreceiveBufferSize - the buffers size, in bytespublic TelnetTermOptions setReuseAddress(boolean reuseAddress)
NetworkOptionssetReuseAddress in class NetServerOptionsreuseAddress - the value of reuse addresspublic TelnetTermOptions setTrafficClass(int trafficClass)
NetworkOptionssetTrafficClass in class NetServerOptionstrafficClass - the value of traffic classpublic TelnetTermOptions setTcpNoDelay(boolean tcpNoDelay)
TCPSSLOptionssetTcpNoDelay in class NetServerOptionstcpNoDelay - true if TCP no delay is enabled (Nagle disabled)public TelnetTermOptions setTcpKeepAlive(boolean tcpKeepAlive)
TCPSSLOptionssetTcpKeepAlive in class NetServerOptionstcpKeepAlive - true if TCP keep alive is enabledpublic TelnetTermOptions setSoLinger(int soLinger)
TCPSSLOptionssetSoLinger in class NetServerOptionssoLinger - true if SO_linger is enabledpublic TelnetTermOptions setIdleTimeout(int idleTimeout)
TCPSSLOptionsTCPSSLOptions.setIdleTimeoutUnit(TimeUnit)setIdleTimeout in class NetServerOptionsidleTimeout - the timeoutpublic TelnetTermOptions setSsl(boolean ssl)
TCPSSLOptionssetSsl in class NetServerOptionsssl - true if enabledpublic TelnetTermOptions setKeyStoreOptions(JksOptions options)
TCPSSLOptionssetKeyStoreOptions in class NetServerOptionsoptions - the key store in jks formatpublic TelnetTermOptions setPfxKeyCertOptions(PfxOptions options)
TCPSSLOptionssetPfxKeyCertOptions in class NetServerOptionsoptions - the key cert options in pfx formatpublic TelnetTermOptions setPemKeyCertOptions(PemKeyCertOptions options)
TCPSSLOptionssetPemKeyCertOptions in class NetServerOptionsoptions - the options in pem formatpublic TelnetTermOptions setTrustStoreOptions(JksOptions options)
TCPSSLOptionssetTrustStoreOptions in class NetServerOptionsoptions - the trust options in jks formatpublic TelnetTermOptions setPfxTrustOptions(PfxOptions options)
TCPSSLOptionssetPfxTrustOptions in class NetServerOptionsoptions - the trust options in pfx formatpublic TelnetTermOptions setPemTrustOptions(PemTrustOptions options)
TCPSSLOptionssetPemTrustOptions in class NetServerOptionsoptions - the trust options in pem formatpublic TelnetTermOptions addEnabledCipherSuite(String suite)
TCPSSLOptionsaddEnabledCipherSuite in class NetServerOptionssuite - the suiteTCPSSLOptions.getEnabledCipherSuites()public TelnetTermOptions addCrlPath(String crlPath) throws NullPointerException
TCPSSLOptionsaddCrlPath in class NetServerOptionscrlPath - the pathNullPointerExceptionpublic TelnetTermOptions addCrlValue(Buffer crlValue) throws NullPointerException
TCPSSLOptionsaddCrlValue in class NetServerOptionscrlValue - the valueNullPointerExceptionpublic TelnetTermOptions setAcceptBacklog(int acceptBacklog)
NetServerOptionssetAcceptBacklog in class NetServerOptionsacceptBacklog - accept backlogpublic TelnetTermOptions setHost(String host)
NetServerOptionssetHost in class NetServerOptionshost - the hostpublic TelnetTermOptions setPort(int port)
NetServerOptionssetPort in class NetServerOptionsport - the portpublic boolean getOutBinary()
public TelnetTermOptions setOutBinary(boolean outBinary)
outBinary - the out binary valuepublic boolean getInBinary()
public TelnetTermOptions setInBinary(boolean inBinary)
inBinary - the in binary valuepublic String getCharset()
public TelnetTermOptions setCharset(String charset)
setInBinary(boolean) and setOutBinary(boolean).charset - the charsetpublic String getIntputrc()
public TelnetTermOptions setIntputrc(String intputrc)
intputrc - the path of the inputrc configCopyright © 2022 Eclipse. All rights reserved.