Top Description Methods
reactor.netty

public Interface NettyInbound

Known Direct Subinterfaces
reactor.netty.udp.UdpInbound
Known Direct Implementers
reactor.netty.channel.ChannelOperations
Imports
java.util.function.Consumer, io.netty.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 ByteBufFlux

Returns:

a new ByteBufFlux
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 ByteBufFlux receive()

A Flux extension that allows for extra decoding operators.

Returns:ByteBufFlux

a new ByteBufFlux

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