Interface PayloadReader

All Known Implementing Classes:
JacksonPayloadReader

public interface PayloadReader
Strategy for reading from a ByteBuf and decoding its contents to a Publisher of GatewayPayload.
  • Method Summary

    Modifier and Type
    Method
    Description
    read(ByteBuf payload)
    Read from the input buffer and encode to a single object.
  • Method Details

    • read

      Publisher<GatewayPayload<?>> read(ByteBuf payload)
      Read from the input buffer and encode to a single object.
      Parameters:
      payload - the input byte buffer
      Returns:
      a publisher of GatewayPayload representing the inbound payload