Interface PayloadFormatter
-
- All Known Implementing Classes:
JSONPayloadFormatter
public interface PayloadFormatterPayloadFormatter format the payload to the messages.This is a SPI interface.
- See Also:
JSONPayloadFormatter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Message>format(io.netty.buffer.ByteBuf payload)format a payload to a list of messagesjava.lang.StringgetName()get the formatter name
-
-
-
Method Detail
-
format
java.util.List<Message> format(io.netty.buffer.ByteBuf payload)
format a payload to a list of messages- Parameters:
payload-- Returns:
-
getName
java.lang.String getName()
get the formatter name- Returns:
-
-