クラス JacksonJsonMessageParser
java.lang.ObjectSE
org.springframework.integration.support.json.JacksonJsonMessageParser
- 実装済みのインターフェース一覧:
Aware, BeanFactoryAware, JsonInboundMessageMapper.JsonMessageParser<tools.jackson.core.JsonParser>
JSON メッセージを解析し、提供された
JsonInboundMessageMapper から指定されたペイロード型を持つ Message を構築する JsonInboundMessageMapper.JsonMessageParser 実装。Jackson JSON Processor を使用します。- 導入:
- 7.0
- 作成者:
- Jooyoung Pyoung
コンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明protected tools.jackson.core.JsonParsercreateJsonParser(StringSE jsonMessage) Message<?> doInParser(JsonInboundMessageMapper messageMapperToUse, StringSE jsonMessage, @Nullable MapSE<StringSE, ObjectSE> headers) protected MessageBuilderFactoryprotected Message<?> parseWithHeaders(tools.jackson.core.JsonParser parser, StringSE jsonMessage, @Nullable MapSE<StringSE, ObjectSE> headersToAdd) protected @Nullable ObjectSEreadHeader(tools.jackson.core.JsonParser parser, StringSE headerName, StringSE jsonMessage) protected @Nullable ObjectSEreadPayload(tools.jackson.core.JsonParser parser, StringSE jsonMessage) voidsetBeanFactory(BeanFactory beanFactory)
コンストラクターの詳細
JacksonJsonMessageParser
public JacksonJsonMessageParser()JacksonJsonMessageParser
方法の詳細
createJsonParser
parseWithHeaders
setBeanFactory
- 次で指定:
- インターフェース
BeanFactoryAware内のsetBeanFactory - 例外:
BeansException
getMessageBuilderFactory
doInParser
public Message<?> doInParser(JsonInboundMessageMapper messageMapperToUse, StringSE jsonMessage, @Nullable MapSE<StringSE, ObjectSE> headers) - 次で指定:
- インターフェース
JsonInboundMessageMapper.JsonMessageParser<P>内のdoInParser
readPayload
readHeader