public final class TcpServerConfig extends ServerTransportConfig<TcpServerConfig>
Modifier and Type | Method and Description |
---|---|
ChannelOperations.OnSetup |
channelOperationsProvider()
Return the associated
ChannelOperations.OnSetup , config implementations might override this. |
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()
Returns true if that
TcpServer secured via SSL transport. |
SslProvider |
sslProvider()
Returns the current
SslProvider if that TcpServer secured via SSL
transport or null. |
channelType, childAttributes, childObserver, childOptions, defaultChildObserver, defaultConnectionObserver, doOnBind, doOnBound, doOnConnection, doOnUnbound, eventLoopGroup
attributes, bindAddress, channelGroup, channelHash, channelInitializer, connectionFactory, connectionObserver, doOnChannelInit, isPreferNative, loggingHandler, loggingHandler, loopResources, metricsRecorder, metricsRecorder, metricsRecorderInternal, options, updateMap
public ChannelOperations.OnSetup channelOperationsProvider()
TransportConfig
ChannelOperations.OnSetup
, config implementations might override this.channelOperationsProvider
in class TransportConfig
ChannelOperations.OnSetup
public final boolean isSecure()
TcpServer
secured via SSL transport.TcpServer
secured via SSL transport@Nullable public SslProvider sslProvider()
SslProvider
if that TcpServer
secured via SSL
transport or null.SslProvider
if that TcpServer
secured via SSL
transport or nullprotected LoggingHandler defaultLoggingHandler()
TransportConfig
LoggingHandler
to wiretap this transport.defaultLoggingHandler
in class TransportConfig
LoggingHandler
to wiretap this transportprotected LoopResources defaultLoopResources()
TransportConfig
LoopResources
for this transport.defaultLoopResources
in class TransportConfig
LoopResources
for this transportprotected ChannelMetricsRecorder defaultMetricsRecorder()
TransportConfig
defaultMetricsRecorder
in class TransportConfig
protected ChannelPipelineConfigurer defaultOnChannelInit()
TransportConfig
ChannelPipelineConfigurer.emptyConfigurer()
.defaultOnChannelInit
in class ServerTransportConfig<TcpServerConfig>
ChannelPipelineConfigurer.emptyConfigurer()