接口 ReactorNettyCodec<P>
- 类型参数:
P
- the message payload type
public interface ReactorNettyCodec<P>
Simple holder for a decodingFunction
and an encodingBiConsumer
to use with Reactor Netty.- 从以下版本开始:
- 5.0
- 作者:
- Rossen Stoyanchev
方法详细资料
decode
Collection<Message<P>> decode(io.netty.buffer.ByteBuf inputBuffer)
Decode the inputByteBuf
into one or moreMessages
.- 参数:
inputBuffer
- the input buffer to decode from- 返回:
- 0 or more decoded messages