クラス JsonOutboundMessageMapper
java.lang.ObjectSE
org.springframework.integration.support.json.JsonOutboundMessageMapper
- 実装されたすべてのインターフェース:
OutboundMessageMapper<StringSE>
OutboundMessageMapper
実装は、Message
を JSON 文字列表現に変換します。 代わりに EmbeddedJsonHeadersMessageMapper
の使用を検討してください。含まれるヘッダーを決定するための柔軟性が向上します。
- 導入:
- 2.0
- 作成者:
- Jeremy Grelle, Mark Fisher, Artem Bilan, Gary Russell
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明fromMessage
(Message<?> message) void
setShouldExtractPayload
(boolean shouldExtractPayload)
コンストラクターの詳細
JsonOutboundMessageMapper
public JsonOutboundMessageMapper()JsonOutboundMessageMapper
メソッドの詳細
setShouldExtractPayload
public void setShouldExtractPayload(boolean shouldExtractPayload) fromMessage
- 次で指定:
- インターフェース
OutboundMessageMapper<StringSE>
のfromMessage