All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static ChannelOperations.OnSetup |
channelOperationFactory(AbstractBootstrap<?,?> b)
|
static void |
channelOperationFactory(AbstractBootstrap<?,?> b,
ChannelOperations.OnSetup opsFactory)
|
static ConnectionObserver |
childConnectionObserver(ServerBootstrap b)
|
static void |
childConnectionObserver(ServerBootstrap b,
ConnectionObserver connectionObserver)
|
static ConnectionObserver |
connectionObserver(AbstractBootstrap<?,?> b)
|
static void |
connectionObserver(AbstractBootstrap<?,?> b,
ConnectionObserver connectionObserver)
|
static void |
finalizeHandler(Bootstrap b,
ChannelOperations.OnSetup opsFactory,
ConnectionObserver listener)
Finalize a bootstrap pipeline configuration by turning it into a
ChannelInitializer to safely initialize each child channel.
|
static void |
finalizeHandler(ServerBootstrap b,
ChannelOperations.OnSetup opsFactory,
ConnectionObserver childListener)
Finalize a server bootstrap pipeline configuration by turning it into a ChannelInitializer to safely initialize each child channel.
|
static <C> C |
findConfiguration(Class<C> clazz,
ChannelHandler handler)
Find the given typed configuration consumer or return null;
|
static java.util.function.Function<Bootstrap,java.util.function.BiConsumer<ConnectionObserver,Channel>> |
findMetricsSupport(Bootstrap b)
Find metrics support in the given client bootstrap
|
static Bootstrap |
removeConfiguration(Bootstrap b,
String name)
Remove a configuration given its unique name from the given Bootstrap
|
static ServerBootstrap |
removeConfiguration(ServerBootstrap b,
String name)
Remove a configuration given its unique name from the given ServerBootstrap
|
static Bootstrap |
removeMetricsSupport(Bootstrap b) |
static ServerBootstrap |
removeMetricsSupport(ServerBootstrap b) |
static Bootstrap |
updateConfiguration(Bootstrap b,
String name,
java.util.function.BiConsumer<ConnectionObserver,? super Channel> c)
Add the configuration consumer to this Bootstrap given a unique
configuration name.
|
static Bootstrap |
updateConfiguration(Bootstrap b,
String name,
java.util.function.Function<? super Bootstrap,? extends java.util.function.BiConsumer<ConnectionObserver,? super Channel>> c)
Add the configuration consumer to this Bootstrap given a unique
configuration name.
|
static ServerBootstrap |
updateConfiguration(ServerBootstrap b,
String name,
java.util.function.BiConsumer<ConnectionObserver,? super Channel> c)
Add the configuration consumer to this ServerBootstrap given a unique
configuration name.
|
static Bootstrap |
updateLogSupport(Bootstrap b,
LoggingHandler handler)
|
static Bootstrap |
updateLogSupport(Bootstrap b,
String category,
LogLevel level)
|
static ServerBootstrap |
updateLogSupport(ServerBootstrap b,
LoggingHandler handler)
|
static Bootstrap |
updateMetricsSupport(Bootstrap b,
ChannelMetricsRecorder recorder) |
static ServerBootstrap |
updateMetricsSupport(ServerBootstrap b,
ChannelMetricsRecorder recorder) |
static Bootstrap |
updateResolverForNoProxySupport(Bootstrap b)
|
static Bootstrap |
updateResolverForProxySupport(Bootstrap b)
|