Top Description Methods
reactor.netty5

public Interface NettyInbound

Known Direct Subinterfaces
reactor.netty5.udp.UdpInbound
Known Direct Implementers
reactor.netty5.channel.ChannelOperations
Imports
java.util.function.Consumer, io.netty5.channel.Channel, reactor.core.publisher.Flux

An inbound-traffic API delegating to an underlying Channel
Author
Stephane Maldini
Since
0.6

Method Summary

Modifier and TypeMethod and Description
public BufferFlux

Returns:

a new BufferFlux
receive
()

A Flux extension that allows for extra decoding operators

public Flux<?>

Returns:

a Object inbound Flux
receiveObject
()

a Object inbound Flux

public NettyInbound

Returns:

the Connection
withConnection
(Consumer<? super Connection>
connection callback
withConnection
)

Calls the passed callback with a Connection to operate on the underlying Channel state.

Method Detail

receiveback to summary
public BufferFlux receive()

A Flux extension that allows for extra decoding operators

Returns:BufferFlux

a new BufferFlux

receiveObjectback to summary
public Flux<?> receiveObject()

a Object inbound Flux

Returns:Flux<?>

a Object inbound Flux

withConnectionback to summary
public NettyInbound withConnection(Consumer<? super Connection> withConnection)

Calls the passed callback with a Connection to operate on the underlying Channel state. This allows for chaining inbound API.

Parameters
withConnection:Consumer<? super Connection>

connection callback

Returns:NettyInbound

the Connection