Class LegacyJackson2MessageConverterMigration
java.lang.Object
io.awspring.cloud.sqs.support.converter.legacy.LegacyJackson2MessageConverterMigration
- All Implemented Interfaces:
JacksonMessageConverterMigration
@Deprecated(forRemoval=true)
public class LegacyJackson2MessageConverterMigration
extends Object
implements JacksonMessageConverterMigration
Deprecated, for removal: This API element is subject to removal in a future version.
Internal, migration-only implementation for the Jackson 2 variant.
This type is transitional and will be removed after the Jackson 3 migration is complete.
- Since:
- 4.0.0
- Author:
- Matej Nedic
-
Constructor Summary
ConstructorsConstructorDescriptionLegacyJackson2MessageConverterMigration(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddJacksonMigrationResolvers(List<HandlerMethodArgumentResolver> argumentResolvers, MessageConverter messageConverter) Deprecated, for removal: This API element is subject to removal in a future version.voidconfigureLegacyObjectMapper(MessagingMessageConverter messageConverter) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.static voidenrichResolversDefault(List<HandlerMethodArgumentResolver> argumentResolvers, MessageConverter messageConverter) Deprecated, for removal: This API element is subject to removal in a future version.com.fasterxml.jackson.databind.ObjectMapperDeprecated, for removal: This API element is subject to removal in a future version.voidsetObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
LegacyJackson2MessageConverterMigration
public LegacyJackson2MessageConverterMigration(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()Deprecated, for removal: This API element is subject to removal in a future version. -
setObjectMapper
public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated, for removal: This API element is subject to removal in a future version. -
createMigrationMessageConverter
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createMigrationMessageConverterin interfaceJacksonMessageConverterMigration- Returns:
- the migration
MessageConverter
-
addJacksonMigrationResolvers
public void addJacksonMigrationResolvers(List<HandlerMethodArgumentResolver> argumentResolvers, MessageConverter messageConverter) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
addJacksonMigrationResolversin interfaceJacksonMessageConverterMigration- Parameters:
argumentResolvers- list to add migration resolvers tomessageConverter- migrationMessageConverterto be used by those resolvers
-
configureLegacyObjectMapper
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
configureLegacyObjectMapperin interfaceJacksonMessageConverterMigration- Parameters:
messageConverter- converter to configure as part of the legacy migration path
-
enrichResolversDefault
public static void enrichResolversDefault(List<HandlerMethodArgumentResolver> argumentResolvers, MessageConverter messageConverter) Deprecated, for removal: This API element is subject to removal in a future version.
-