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)
PayloadWriterwrite in interface PayloadWriterpayload - the output payloadByteBuf