Class Jackson2SmileEncoder

All Implemented Interfaces:
Encoder<Object>, HttpMessageEncoder<Object>

public class Jackson2SmileEncoder extends AbstractJackson2Encoder
Encode from an Object stream to a byte stream of Smile objects using Jackson 2.x. For non-streaming use cases, Flux elements are collected into a List before serialization for performance reason.
Since:
5.0
Author:
Sebastien Deleuze
See Also:
  • Constructor Details

    • Jackson2SmileEncoder

      public Jackson2SmileEncoder()
    • Jackson2SmileEncoder

      public Jackson2SmileEncoder(ObjectMapper mapper, MimeType... mimeTypes)
  • Method Details