Class JacksonPayloadReader

    • Constructor Detail

      • JacksonPayloadReader

        public JacksonPayloadReader​(ObjectMapper mapper)
      • JacksonPayloadReader

        public JacksonPayloadReader​(ObjectMapper mapper,
                                    boolean lenient)
    • Method Detail

      • read

        public Mono<GatewayPayload<?>> read​(ByteBuf buf)
        Description copied from interface: PayloadReader
        Read from the input buffer and encode to a single object.
        Specified by:
        read in interface PayloadReader
        Parameters:
        buf - the input byte buffer
        Returns:
        a publisher of GatewayPayload representing the inbound payload