public final class ReadOnlyTcpClientConfig
extends java.lang.Object
TcpClientConfig
.Modifier and Type | Method and Description |
---|---|
FlushStrategy |
flushStrategy()
Returns the
FlushStrategy for this client. |
java.lang.Long |
idleTimeoutMs()
Returns the idle timeout as expressed via option
ServiceTalkSocketOptions.IDLE_TIMEOUT . |
boolean |
isAlpnConfigured()
Returns
true if the TLS ALPN Extension is
configured. |
java.util.Map<io.netty.channel.ChannelOption,java.lang.Object> |
options()
Returns the
ChannelOption s for all channels. |
io.netty.handler.ssl.SslContext |
sslContext()
Returns the
SslContext . |
java.lang.String |
sslHostnameVerificationAlgorithm()
Returns the hostname verification algorithm, if any.
|
java.lang.String |
sslHostnameVerificationHost()
Get the non-authoritative name of the host.
|
int |
sslHostnameVerificationPort()
Get the non-authoritative port.
|
UserDataLoggerConfig |
wireLoggerConfig()
Get the
UserDataLoggerConfig for wire logging. |
@Nullable public io.netty.handler.ssl.SslContext sslContext()
SslContext
.SslContext
, null
if none specified@Nullable public java.lang.String sslHostnameVerificationAlgorithm()
null
if none specified@Nullable public java.lang.String sslHostnameVerificationHost()
public int sslHostnameVerificationPort()
Only valid if sslHostnameVerificationHost()
is not null
.
public final java.util.Map<io.netty.channel.ChannelOption,java.lang.Object> options()
ChannelOption
s for all channels.@Nullable public final java.lang.Long idleTimeoutMs()
ServiceTalkSocketOptions.IDLE_TIMEOUT
.public final FlushStrategy flushStrategy()
FlushStrategy
for this client.FlushStrategy
for this client@Nullable public final UserDataLoggerConfig wireLoggerConfig()
UserDataLoggerConfig
for wire logging.UserDataLoggerConfig
for wire logging, or null
.public boolean isAlpnConfigured()
true
if the TLS ALPN Extension is
configured.true
if the TLS ALPN Extension is
configured