Interface TargetMessageJacksonModuleProvider
public interface TargetMessageJacksonModuleProvider
Provider for a Jackson module that can be registered with the target message's
ObjectMapper.-
Method Summary
Modifier and TypeMethodDescriptiondefault Set<ConvertibleTypePair>For registration into SpEL's type converter to delegate to jackson for in-place type conversions.com.fasterxml.jackson.databind.ModuleGet the Jackson module to be registered with the target message'sObjectMapper.default Set<org.springframework.core.convert.TypeDescriptor>Get the set of types that can be serialized by the module specified bygetModule().
-
Method Details
-
getModule
com.fasterxml.jackson.databind.Module getModule()Get the Jackson module to be registered with the target message'sObjectMapper.- Returns:
- The Jackson module to be registered
-
getSerializableClasses
Get the set of types that can be serialized by the module specified bygetModule().- Returns:
- Set of types which can be serialized by this module
-
getConvertibleTypes
For registration into SpEL's type converter to delegate to jackson for in-place type conversions. Or to be leveraged by the transform service to determine compatible types.- Returns:
- Set of convertible type pairs that this module supports.
-