Class MessageHeadersJsonSerializer
java.lang.Object
tools.jackson.databind.ValueSerializer<MessageHeaders>
tools.jackson.databind.ser.std.StdSerializer<MessageHeaders>
org.springframework.integration.support.json.MessageHeadersJsonSerializer
- All Implemented Interfaces:
- tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public class MessageHeadersJsonSerializer
extends tools.jackson.databind.ser.std.StdSerializer<MessageHeaders>
A Jackson 
StdSerializer implementation to serialize MessageHeaders
 as a HashMap.
 
 This technique is much reliable during deserialization, especially when the
 typeId property is used to store the type.
- Since:
- 7.0
- Author:
- Jooyoung Pyoung
- 
Nested Class SummaryNested classes/interfaces inherited from class tools.jackson.databind.ValueSerializertools.jackson.databind.ValueSerializer.None
- 
Field SummaryFields inherited from class tools.jackson.databind.ser.std.StdSerializer_handledType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidserialize(MessageHeaders value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext provider) voidserializeWithType(MessageHeaders value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext ctxt, tools.jackson.databind.jsontype.TypeSerializer typeSer) Methods inherited from class tools.jackson.databind.ser.std.StdSerializer_neitherNull, _nonEmpty, _wrapIOFailure, acceptJsonFormatVisitor, acceptJsonFormatVisitorForBinary, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowMethods inherited from class tools.jackson.databind.ValueSerializercreateContextual, getDelegatee, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, resolve, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties
- 
Constructor Details- 
MessageHeadersJsonSerializerpublic MessageHeadersJsonSerializer()
 
- 
- 
Method Details- 
serializeWithTypepublic void serializeWithType(MessageHeaders value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext ctxt, tools.jackson.databind.jsontype.TypeSerializer typeSer) throws tools.jackson.core.JacksonException - Overrides:
- serializeWithTypein class- tools.jackson.databind.ValueSerializer<MessageHeaders>
- Throws:
- tools.jackson.core.JacksonException
 
- 
serializepublic void serialize(MessageHeaders value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext provider) throws tools.jackson.core.JacksonException - Specified by:
- serializein class- tools.jackson.databind.ser.std.StdSerializer<MessageHeaders>
- Throws:
- tools.jackson.core.JacksonException
 
 
-