HttpMessageConverter that can read and write the CBOR
data format using
the dedicated Jackson 2.x extension.
By default, this converter supports the MediaType#APPLICATION_CBOR_VALUE
media type. This can be overridden by setting the supportedMediaTypes property.
The default constructor uses the default configuration provided by
Jackson2ObjectMapperBuilder.
| Access | Constructor and Description |
|---|---|
| public | MappingJackson2CborHttpMessageConverter()
Construct a new |
| public | MappingJackson2CborHttpMessageConverter(ObjectMapper objectMapper)
Construct a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | setObjectMapper(ObjectMapper objectMapper)
Overrides org. Configure the main |
| MappingJackson2CborHttpMessageConverter | back to summary |
|---|---|
| public MappingJackson2CborHttpMessageConverter() Construct a new | |
| MappingJackson2CborHttpMessageConverter | back to summary |
|---|---|
| public MappingJackson2CborHttpMessageConverter(ObjectMapper objectMapper) Construct a new You can use
| |
| setObjectMapper | back to summary |
|---|---|
| public void setObjectMapper(ObjectMapper objectMapper) Overrides org. Doc from org. Configure the main Setting a custom-configured
| |