public class TelnetOptions extends NetServerOptions
NetServerOptions.DEFAULT_ACCEPT_BACKLOG, DEFAULT_CLIENT_AUTH, DEFAULT_HOST, DEFAULT_PORTDEFAULT_IDLE_TIMEOUT, DEFAULT_SO_LINGER, DEFAULT_SSL, DEFAULT_TCP_KEEP_ALIVE, DEFAULT_TCP_NO_DELAY, DEFAULT_USE_POOLED_BUFFERSDEFAULT_RECEIVE_BUFFER_SIZE, DEFAULT_REUSE_ADDRESS, DEFAULT_SEND_BUFFER_SIZE, DEFAULT_TRAFFIC_CLASS| Constructor and Description |
|---|
TelnetOptions() |
TelnetOptions(JsonObject json) |
TelnetOptions(TelnetOptions other) |
| Modifier and Type | Method and Description |
|---|---|
TelnetOptions |
addCrlPath(String crlPath)
Add a CRL path
|
TelnetOptions |
addCrlValue(Buffer crlValue)
Add a CRL value
|
TelnetOptions |
addEnabledCipherSuite(String suite)
Add an enabled cipher suite
|
TelnetOptions |
setAcceptBacklog(int acceptBacklog)
Set the accept back log
|
TelnetOptions |
setClientAuthRequired(boolean clientAuthRequired)
Set whether client auth is required
|
TelnetOptions |
setHost(String host)
Set the host
|
TelnetOptions |
setIdleTimeout(int idleTimeout)
Set the idle timeout, in seconds.
|
TelnetOptions |
setKeyStoreOptions(JksOptions options)
Set the key/cert options in jks format, aka Java keystore.
|
TelnetOptions |
setPemKeyCertOptions(PemKeyCertOptions options)
Set the key/cert store options in pem format.
|
TelnetOptions |
setPemTrustOptions(PemTrustOptions options)
Set the trust options in pem format
|
TelnetOptions |
setPfxKeyCertOptions(PfxOptions options)
Set the key/cert options in pfx format.
|
TelnetOptions |
setPfxTrustOptions(PfxOptions options)
Set the trust options in pfx format
|
TelnetOptions |
setPort(int port)
Set the port
|
TelnetOptions |
setReceiveBufferSize(int receiveBufferSize)
Set the TCP receive buffer size
|
TelnetOptions |
setReuseAddress(boolean reuseAddress)
Set the value of reuse address
|
TelnetOptions |
setSendBufferSize(int sendBufferSize)
Set the TCP send buffer size
|
TelnetOptions |
setSoLinger(int soLinger)
Set whether SO_linger keep alive is enabled
|
TelnetOptions |
setSsl(boolean ssl)
Set whether SSL/TLS is enabled
|
TelnetOptions |
setTcpKeepAlive(boolean tcpKeepAlive)
Set whether TCP keep alive is enabled
|
TelnetOptions |
setTcpNoDelay(boolean tcpNoDelay)
Set whether TCP no delay is enabled
|
TelnetOptions |
setTrafficClass(int trafficClass)
Set the value of traffic class
|
TelnetOptions |
setTrustStoreOptions(JksOptions options)
Set the trust options in jks format, aka Java trustore
|
TelnetOptions |
setUsePooledBuffers(boolean usePooledBuffers)
Set whether Netty pooled buffers are enabled
|
equals, getAcceptBacklog, getClientAuth, getHost, getPort, hashCode, isClientAuthRequired, setClientAuthgetCrlPaths, getCrlValues, getEnabledCipherSuites, getIdleTimeout, getKeyCertOptions, getSoLinger, getTrustOptions, isSsl, isTcpKeepAlive, isTcpNoDelay, isUsePooledBuffersgetReceiveBufferSize, getSendBufferSize, getTrafficClass, isReuseAddresspublic TelnetOptions()
public TelnetOptions(TelnetOptions other)
public TelnetOptions(JsonObject json)
public TelnetOptions setSendBufferSize(int sendBufferSize)
NetworkOptionssetSendBufferSize in class NetServerOptionssendBufferSize - the buffers size, in bytespublic TelnetOptions setReceiveBufferSize(int receiveBufferSize)
NetworkOptionssetReceiveBufferSize in class NetServerOptionsreceiveBufferSize - the buffers size, in bytespublic TelnetOptions setReuseAddress(boolean reuseAddress)
NetworkOptionssetReuseAddress in class NetServerOptionsreuseAddress - the value of reuse addresspublic TelnetOptions setTrafficClass(int trafficClass)
NetworkOptionssetTrafficClass in class NetServerOptionstrafficClass - the value of traffic classpublic TelnetOptions setTcpNoDelay(boolean tcpNoDelay)
TCPSSLOptionssetTcpNoDelay in class NetServerOptionstcpNoDelay - true if TCP no delay is enabled (Nagle disabled)public TelnetOptions setTcpKeepAlive(boolean tcpKeepAlive)
TCPSSLOptionssetTcpKeepAlive in class NetServerOptionstcpKeepAlive - true if TCP keep alive is enabledpublic TelnetOptions setSoLinger(int soLinger)
TCPSSLOptionssetSoLinger in class NetServerOptionssoLinger - true if SO_linger is enabledpublic TelnetOptions setUsePooledBuffers(boolean usePooledBuffers)
TCPSSLOptionssetUsePooledBuffers in class NetServerOptionsusePooledBuffers - true if pooled buffers enabledpublic TelnetOptions setIdleTimeout(int idleTimeout)
TCPSSLOptionssetIdleTimeout in class NetServerOptionsidleTimeout - the timeout, in secondspublic TelnetOptions setSsl(boolean ssl)
TCPSSLOptionssetSsl in class NetServerOptionsssl - true if enabledpublic TelnetOptions setKeyStoreOptions(JksOptions options)
TCPSSLOptionssetKeyStoreOptions in class NetServerOptionsoptions - the key store in jks formatpublic TelnetOptions setPfxKeyCertOptions(PfxOptions options)
TCPSSLOptionssetPfxKeyCertOptions in class NetServerOptionsoptions - the key cert options in pfx formatpublic TelnetOptions setPemKeyCertOptions(PemKeyCertOptions options)
TCPSSLOptionssetPemKeyCertOptions in class NetServerOptionsoptions - the options in pem formatpublic TelnetOptions setTrustStoreOptions(JksOptions options)
TCPSSLOptionssetTrustStoreOptions in class NetServerOptionsoptions - the options in jks formatpublic TelnetOptions setPfxTrustOptions(PfxOptions options)
TCPSSLOptionssetPfxTrustOptions in class NetServerOptionsoptions - the options in pfx formatpublic TelnetOptions setPemTrustOptions(PemTrustOptions options)
TCPSSLOptionssetPemTrustOptions in class NetServerOptionsoptions - the options in pem formatpublic TelnetOptions addEnabledCipherSuite(String suite)
TCPSSLOptionsaddEnabledCipherSuite in class NetServerOptionssuite - the suitepublic TelnetOptions addCrlPath(String crlPath) throws NullPointerException
TCPSSLOptionsaddCrlPath in class NetServerOptionscrlPath - the pathNullPointerExceptionpublic TelnetOptions addCrlValue(Buffer crlValue) throws NullPointerException
TCPSSLOptionsaddCrlValue in class NetServerOptionscrlValue - the valueNullPointerExceptionpublic TelnetOptions setAcceptBacklog(int acceptBacklog)
NetServerOptionssetAcceptBacklog in class NetServerOptionsacceptBacklog - accept backlogpublic TelnetOptions setHost(String host)
NetServerOptionssetHost in class NetServerOptionshost - the hostpublic TelnetOptions setPort(int port)
NetServerOptionssetPort in class NetServerOptionsport - the portpublic TelnetOptions setClientAuthRequired(boolean clientAuthRequired)
NetServerOptionssetClientAuthRequired in class NetServerOptionsclientAuthRequired - true if client auth is requiredCopyright © 2015. All rights reserved.