public final class TcpClientConfig extends ClientTransportConfig<TcpClientConfig>
Modifier and Type | Method and Description |
---|---|
int |
channelHash() |
ChannelOperations.OnSetup |
channelOperationsProvider()
Return the associated
ChannelOperations.OnSetup , config implementations might override this |
protected io.netty.handler.logging.LoggingHandler |
defaultLoggingHandler()
Return the default
LoggingHandler to wiretap this transport |
protected LoopResources |
defaultLoopResources()
Return the default
LoopResources for this transport |
protected ChannelMetricsRecorder |
defaultMetricsRecorder()
Return the configured metrics recorder.
|
protected ChannelPipelineConfigurer |
defaultOnChannelInit()
Return the default callback if any or
ChannelPipelineConfigurer.emptyConfigurer() |
boolean |
isSecure()
Return true if that
TcpClient secured via SSL transport |
SslProvider |
sslProvider()
Return the current
SslProvider if that TcpClient secured via SSL
transport or null |
channelType, connectionProvider, defaultConnectionObserver, doOnConnect, doOnConnected, doOnDisconnected, eventLoopGroup, getNameResolverProvider, hasProxy, proxyProvider, proxyProvider, remoteAddress, resolver, resolverInternal
attributes, bindAddress, channelGroup, channelInitializer, connectionFactory, connectionObserver, doOnChannelInit, isPreferNative, loggingHandler, loggingHandler, loopResources, metricsRecorder, metricsRecorder, options, updateMap
public int channelHash()
channelHash
in class ClientTransportConfig<TcpClientConfig>
public ChannelOperations.OnSetup channelOperationsProvider()
TransportConfig
ChannelOperations.OnSetup
, config implementations might override thischannelOperationsProvider
in class TransportConfig
ChannelOperations.OnSetup
public final boolean isSecure()
TcpClient
secured via SSL transportTcpClient
secured via SSL transport@Nullable public SslProvider sslProvider()
SslProvider
if that TcpClient
secured via SSL
transport or nullSslProvider
if that TcpClient
secured via SSL
transport or nullprotected io.netty.handler.logging.LoggingHandler defaultLoggingHandler()
TransportConfig
LoggingHandler
to wiretap this transportdefaultLoggingHandler
in class TransportConfig
LoggingHandler
to wiretap this transportprotected LoopResources defaultLoopResources()
TransportConfig
LoopResources
for this transportdefaultLoopResources
in class TransportConfig
LoopResources
for this transportprotected ChannelMetricsRecorder defaultMetricsRecorder()
TransportConfig
defaultMetricsRecorder
in class TransportConfig
protected ChannelPipelineConfigurer defaultOnChannelInit()
TransportConfig
ChannelPipelineConfigurer.emptyConfigurer()
defaultOnChannelInit
in class ClientTransportConfig<TcpClientConfig>
ChannelPipelineConfigurer.emptyConfigurer()