Top Description Methods
reactor.netty

public Interface ChannelPipelineConfigurer

Known Direct Implementers
reactor.netty.ReactorNetty.CompositeChannelPipelineConfigurer, reactor.netty.tcp.TcpClientConfig.TcpClientChannelInitializer, reactor.netty.tcp.TcpServerConfig.TcpServerChannelInitializer, reactor.netty.transport.ClientTransportConfig.ClientTransportChannelInitializer
Annotations
@FunctionalInterface
Imports
io.netty.channel.Channel, reactor.util.annotation.Nullable, java.net.SocketAddress

Configure the channel pipeline while initializing the channel.
Author
Violeta Georgieva
Since
1.0.0

Method Summary

Modifier and TypeMethod and Description
public static ChannelPipelineConfigurer

Returns:

a noop configurer
emptyConfigurer
()

Return a noop configurer.

public void
onChannelInit(ConnectionObserver
the configured ConnectionObserver
connectionObserver
,
Channel
the channel
channel
,
SocketAddress
the remote address
remoteAddress
)

Configure the channel pipeline while initializing the channel.

public default ChannelPipelineConfigurer

Method Detail

emptyConfigurerback to summary
public static ChannelPipelineConfigurer emptyConfigurer()

Return a noop configurer.

Returns:ChannelPipelineConfigurer

a noop configurer

onChannelInitback to summary
public void onChannelInit(ConnectionObserver connectionObserver, Channel channel, SocketAddress remoteAddress)

Configure the channel pipeline while initializing the channel.

Parameters
connectionObserver:ConnectionObserver

the configured ConnectionObserver

channel:Channel

the channel

remoteAddress:SocketAddress

the remote address

thenback to summary
public default ChannelPipelineConfigurer then(ChannelPipelineConfigurer other)

Chain together another ChannelPipelineConfigurer.

Parameters
other:ChannelPipelineConfigurer

the next ChannelPipelineConfigurer

Returns:ChannelPipelineConfigurer

a new composite ChannelPipelineConfigurer