|
|
|
@ -66,6 +66,7 @@ public class RSocketStrategiesAutoConfiguration { |
|
|
|
|
|
|
|
|
|
|
|
@Configuration(proxyBeanMethods = false) |
|
|
|
@Configuration(proxyBeanMethods = false) |
|
|
|
@ConditionalOnClass({ ObjectMapper.class, CBORFactory.class }) |
|
|
|
@ConditionalOnClass({ ObjectMapper.class, CBORFactory.class }) |
|
|
|
|
|
|
|
@SuppressWarnings("removal") |
|
|
|
protected static class JacksonCborStrategyConfiguration { |
|
|
|
protected static class JacksonCborStrategyConfiguration { |
|
|
|
|
|
|
|
|
|
|
|
private static final MediaType[] SUPPORTED_TYPES = { MediaType.APPLICATION_CBOR }; |
|
|
|
private static final MediaType[] SUPPORTED_TYPES = { MediaType.APPLICATION_CBOR }; |
|
|
|
@ -85,6 +86,7 @@ public class RSocketStrategiesAutoConfiguration { |
|
|
|
|
|
|
|
|
|
|
|
@Configuration(proxyBeanMethods = false) |
|
|
|
@Configuration(proxyBeanMethods = false) |
|
|
|
@ConditionalOnClass(ObjectMapper.class) |
|
|
|
@ConditionalOnClass(ObjectMapper.class) |
|
|
|
|
|
|
|
@SuppressWarnings("removal") |
|
|
|
protected static class JacksonJsonStrategyConfiguration { |
|
|
|
protected static class JacksonJsonStrategyConfiguration { |
|
|
|
|
|
|
|
|
|
|
|
private static final MediaType[] SUPPORTED_TYPES = { MediaType.APPLICATION_JSON, |
|
|
|
private static final MediaType[] SUPPORTED_TYPES = { MediaType.APPLICATION_JSON, |
|
|
|
|