Package reactor.netty
Interface ChannelPipelineConfigurer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Configure the channel pipeline while initializing the channel.
- Since:
- 1.0.0
- Author:
- Violeta Georgieva
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelPipelineConfigurer
Return a noop configurer.void
onChannelInit
(ConnectionObserver connectionObserver, Channel channel, @Nullable SocketAddress remoteAddress) Configure the channel pipeline while initializing the channel.default ChannelPipelineConfigurer
then
(ChannelPipelineConfigurer other) Chain together anotherChannelPipelineConfigurer
.
-
Method Details
-
emptyConfigurer
Return a noop configurer.- Returns:
- a noop configurer
-
onChannelInit
void onChannelInit(ConnectionObserver connectionObserver, Channel channel, @Nullable SocketAddress remoteAddress) Configure the channel pipeline while initializing the channel.- Parameters:
connectionObserver
- the configuredConnectionObserver
channel
- the channelremoteAddress
- the remote address
-
then
Chain together anotherChannelPipelineConfigurer
.- Parameters:
other
- the nextChannelPipelineConfigurer
- Returns:
- a new composite
ChannelPipelineConfigurer
-