クラス Jackson2JsonMessageParser
java.lang.ObjectSE
org.springframework.integration.support.json.Jackson2JsonMessageParser
- 実装されたすべてのインターフェース:
Aware
、BeanFactoryAware
、JsonInboundMessageMapper.JsonMessageParser<com.fasterxml.jackson.core.JsonParser>
JSON メッセージを解析し、提供された
JsonInboundMessageMapper
から指定されたペイロード型を持つ Message
を構築する JsonInboundMessageMapper.JsonMessageParser
実装。Jackson JSON Processor を使用します。- 導入:
- 3.0
- 作成者:
- Artem Bilan, Gary Russell
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected com.fasterxml.jackson.core.JsonParser
createJsonParser
(StringSE jsonMessage) Message
<?> doInParser
(JsonInboundMessageMapper messageMapperToUse, StringSE jsonMessage, MapSE<StringSE, ObjectSE> headers) protected MessageBuilderFactory
protected Message
<?> parseWithHeaders
(com.fasterxml.jackson.core.JsonParser parser, StringSE jsonMessage, MapSE<StringSE, ObjectSE> headersToAdd) protected ObjectSE
readHeader
(com.fasterxml.jackson.core.JsonParser parser, StringSE headerName, StringSE jsonMessage) protected ObjectSE
readPayload
(com.fasterxml.jackson.core.JsonParser parser, StringSE jsonMessage) void
setBeanFactory
(BeanFactory beanFactory)
コンストラクターの詳細
Jackson2JsonMessageParser
public Jackson2JsonMessageParser()Jackson2JsonMessageParser
メソッドの詳細
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