クラス MessageHeadersJsonSerializer
java.lang.ObjectSE
tools.jackson.databind.ValueSerializer<MessageHeaders>
tools.jackson.databind.ser.std.StdSerializer<MessageHeaders>
org.springframework.integration.support.json.MessageHeadersJsonSerializer
- 実装済みのインターフェース一覧:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public class MessageHeadersJsonSerializer
extends tools.jackson.databind.ser.std.StdSerializer<MessageHeaders>
MessageHeaders を HashMapSE として直列化するための Jackson StdSerializer 実装。 この手法は、特に typeId プロパティを使用して型を格納する場合に、逆直列化中に非常に信頼性が高くなります。
- 導入:
- 7.0
- 作成者:
- Jooyoung Pyoung
ネストされたクラスの概要
クラス tools.jackson.databind.ValueSerializer から継承されたネストクラス / インターフェース
tools.jackson.databind.ValueSerializer.Noneフィールド概要
クラス tools.jackson.databind.ser.std.StdSerializer から継承されたフィールド
_handledTypeコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明voidserialize(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) クラス 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, wrapAndThrowクラス tools.jackson.databind.ValueSerializer から継承されたメソッド
createContextual, getDelegatee, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, resolve, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties
コンストラクターの詳細
MessageHeadersJsonSerializer
public MessageHeadersJsonSerializer()
方法の詳細
serializeWithType
public 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 - オーバーライド:
- クラス
tools.jackson.databind.ValueSerializer<MessageHeaders>のserializeWithType - 例外:
tools.jackson.core.JacksonException
serialize
public void serialize(MessageHeaders value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext provider) throws tools.jackson.core.JacksonException - 次で指定:
- クラス
tools.jackson.databind.ser.std.StdSerializer<MessageHeaders>のserialize - 例外:
tools.jackson.core.JacksonException