Interface FrontendMessage.DirectEncoder

All Known Implementing Classes:
Bind, Close, CompositeFrontendMessage, CopyDone, Describe, Execute, Flush, Parse, SSLRequest, Sync, Terminate
Enclosing interface:
FrontendMessage

public static interface FrontendMessage.DirectEncoder
Interface for messages that can be directly encoded without producing a Publisher first.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    encode(io.netty.buffer.ByteBuf byteBuf)
    Encode a message directly by writing its content to a ByteBuf.
  • Method Details

    • encode

      void encode(io.netty.buffer.ByteBuf byteBuf)
      Encode a message directly by writing its content to a ByteBuf.
      Parameters:
      byteBuf - the target ByteBuf to write into