public interface FrontendMessage
| Modifier and Type | Interface and Description |
|---|---|
static interface |
FrontendMessage.DirectEncoder
Interface for messages that can be directly encoded without producing a
Publisher first. |
| Modifier and Type | Method and Description |
|---|---|
Publisher<io.netty.buffer.ByteBuf> |
encode(io.netty.buffer.ByteBufAllocator byteBufAllocator)
Encode a message into a
ByteBuf. |
Publisher<io.netty.buffer.ByteBuf> encode(io.netty.buffer.ByteBufAllocator byteBufAllocator)
ByteBuf.byteBufAllocator - the byteBufAllocator to use to get a ByteBuf to write intoPublisher that produces the ByteBuf containing the encoded messageIllegalArgumentException - if byteBufAllocator is nullCopyright © 2023. All rights reserved.