Interface PayloadWriter

All Known Implementing Classes:
JacksonPayloadWriter

public interface PayloadWriter
Strategy for encoding a GatewayPayload and writing its contents to a Publisher of ByteBuf.
  • Method Summary

    Modifier and Type
    Method
    Description
    write(GatewayPayload<?> payload)
    Write a given payload to the output buffer.
  • Method Details

    • write

      Publisher<ByteBuf> write(GatewayPayload<?> payload)
      Write a given payload to the output buffer.
      Parameters:
      payload - the output payload
      Returns:
      the publisher of outbound ByteBuf