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 AddressResolverGroup<?> |
defaultAddressResolverGroup()
Provides a global
AddressResolverGroup from TcpResources
that is shared amongst all TCP clients. |
protected 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, resolverInternalattributes, bindAddress, channelGroup, channelInitializer, connectionFactory, connectionObserver, doOnChannelInit, isPreferNative, loggingHandler, loggingHandler, loopResources, metricsRecorder, metricsRecorder, metricsRecorderInternal, options, updateMappublic int channelHash()
channelHash in class ClientTransportConfig<TcpClientConfig>public ChannelOperations.OnSetup channelOperationsProvider()
TransportConfigChannelOperations.OnSetup, config implementations might override this.channelOperationsProvider in class TransportConfigChannelOperations.OnSetuppublic final boolean isSecure()
TcpClient secured via SSL transport.TcpClient secured via SSL transport@Nullable public SslProvider sslProvider()
SslProvider if that TcpClient secured via SSL
transport or null.SslProvider if that TcpClient secured via SSL
transport or nullprotected AddressResolverGroup<?> defaultAddressResolverGroup()
AddressResolverGroup from TcpResources
that is shared amongst all TCP clients. AddressResolverGroup uses the global
LoopResources from TcpResources.defaultAddressResolverGroup in class ClientTransportConfig<TcpClientConfig>AddressResolverGroupprotected LoggingHandler defaultLoggingHandler()
TransportConfigLoggingHandler to wiretap this transport.defaultLoggingHandler in class TransportConfigLoggingHandler to wiretap this transportprotected LoopResources defaultLoopResources()
TransportConfigLoopResources for this transport.defaultLoopResources in class TransportConfigLoopResources for this transportprotected ChannelMetricsRecorder defaultMetricsRecorder()
TransportConfigdefaultMetricsRecorder in class TransportConfigprotected ChannelPipelineConfigurer defaultOnChannelInit()
TransportConfigChannelPipelineConfigurer.emptyConfigurer().defaultOnChannelInit in class ClientTransportConfig<TcpClientConfig>ChannelPipelineConfigurer.emptyConfigurer()