Class JacksonCborDecoder

All Implemented Interfaces:
org.springframework.core.codec.Decoder<Object>, HttpMessageDecoder<Object>

public class JacksonCborDecoder extends AbstractJacksonDecoder
Decode bytes into CBOR and convert to Objects with Jackson 3.x.

Stream decoding is currently not supported.

Since:
7.0
Author:
Sebastien Deleuze
See Also:
  • Constructor Details

    • JacksonCborDecoder

      public JacksonCborDecoder()
      Construct a new instance with a CBORMapper customized with the JacksonModules found by MapperBuilder.findModules(ClassLoader).
    • JacksonCborDecoder

      public JacksonCborDecoder(tools.jackson.dataformat.cbor.CBORMapper mapper)
      Construct a new instance with the provided CBORMapper.
    • JacksonCborDecoder

      public JacksonCborDecoder(tools.jackson.dataformat.cbor.CBORMapper mapper, org.springframework.util.MimeType... mimeTypes)
      Construct a new instance with the provided CBORMapper and MimeTypes.
      See Also:
  • Method Details