Class JacksonCborDecoder

java.lang.Object
org.springframework.http.codec.JacksonCodecsupport<tools.jackson.dataformat.cbor.CBORMapper>
org.springframework.http.codec.AbstractJacksonDecoder<tools.jackson.dataformat.cbor.CBORMapper>
org.springframework.http.codec.cbor.JacksonCborDecoder
All Implemented Interfaces:
Decoder<Object>, HttpMessageDecoder<Object>

public class JacksonCborDecoder extends AbstractJacksonDecoder<tools.jackson.dataformat.cbor.CBORMapper>
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&nbsp;JacksonCborDecoder()
      Construct a new instance with a CBORMapper customized with the JacksonModules found by MapperBuilder.findModules(ClassLoader).
    • JacksonCborDecoder

      public&nbsp;JacksonCborDecoder(tools.jackson.dataformat.cbor.CBORMapper.Builder&nbsp;builder)
      Construct a new instance with the provided CBORMapper.Builder customized with the JacksonModules found by MapperBuilder.findModules(ClassLoader).
      see Also:
      • CBORMapper.builder()
    • JacksonCborDecoder

      public&nbsp;JacksonCborDecoder(tools.jackson.dataformat.cbor.CBORMapper&nbsp;mapper)
      Construct a new instance with the provided CBORMapper.
      see Also:
      • CBORMapper.builder()
    • JacksonCborDecoder

      public&nbsp;JacksonCborDecoder(tools.jackson.dataformat.cbor.CBORMapper.Builder&nbsp;builder, MimeType...&nbsp;mimeTypes)
      Construct a new instance with the provided CBORMapper.Builder customized with the JacksonModules found by MapperBuilder.findModules(ClassLoader), and MimeTypes.
      see Also:
      • CBORMapper.builder()
    • JacksonCborDecoder

      public&nbsp;JacksonCborDecoder(tools.jackson.dataformat.cbor.CBORMapper&nbsp;mapper, MimeType...&nbsp;mimeTypes)
      Construct a new instance with the provided CBORMapper and MimeTypes.
      see Also:
      • CBORMapper.builder()
  • Method Details