public class JacksonPayloadWriter extends Object implements PayloadWriter
Constructor and Description |
---|
JacksonPayloadWriter(ObjectMapper mapper) |
Modifier and Type | Method and Description |
---|---|
Mono<ByteBuf> |
write(GatewayPayload<?> payload)
Write a given payload to the output buffer.
|
public JacksonPayloadWriter(ObjectMapper mapper)
public Mono<ByteBuf> write(GatewayPayload<?> payload)
PayloadWriter
write
in interface PayloadWriter
payload
- the output payloadByteBuf