public class Jackson2JsonMessageParser extends ObjectSE
JsonInboundMessageMapper から指定されたペイロード型で Message を構築する JsonInboundMessageMapper.JsonMessageParser 実装。Jackson 2 JSON プロセッサー(@link https://github.com/FasterXML))を使用します。| コンストラクターと説明 |
|---|
Jackson2JsonMessageParser() |
Jackson2JsonMessageParser(Jackson2JsonObjectMapper objectMapper) |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected com.fasterxml.jackson.core.JsonParser | createJsonParser(StringSE jsonMessage) |
Message<?> | doInParser(JsonInboundMessageMapper messageMapperToUse, StringSE jsonMessage, MapSE<StringSE, ObjectSE> headers) |
protected MessageBuilderFactory | getMessageBuilderFactory() |
protected Message<?> | parseWithHeaders(com.fasterxml.jackson.core.JsonParser parser, StringSE jsonMessage, MapSE<StringSE, ObjectSE> headersToAdd) |
protected ObjectSE | readHeader(P parser, StringSE headerName, StringSE jsonMessage) |
protected ObjectSE | readPayload(P parser, StringSE jsonMessage) |
void | setBeanFactory(BeanFactory beanFactory) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic Jackson2JsonMessageParser()
public Jackson2JsonMessageParser(Jackson2JsonObjectMapper objectMapper)
protected com.fasterxml.jackson.core.JsonParser createJsonParser(StringSE jsonMessage)
protected Message<?> parseWithHeaders(com.fasterxml.jackson.core.JsonParser parser, StringSE jsonMessage, @Nullable MapSE<StringSE,ObjectSE> headersToAdd)
public void setBeanFactory(BeanFactory beanFactory) throws BeansException
BeanFactoryAware の setBeanFactory BeansExceptionprotected MessageBuilderFactory getMessageBuilderFactory()
public Message<?> doInParser(JsonInboundMessageMapper messageMapperToUse, StringSE jsonMessage, @Nullable MapSE<StringSE,ObjectSE> headers)
JsonInboundMessageMapper.JsonMessageParser<P> の doInParser