クラス MessageConvertingTcpMessageMapper
java.lang.ObjectSE
org.springframework.integration.ip.tcp.connection.TcpMessageMapper
org.springframework.integration.ip.tcp.connection.MessageConvertingTcpMessageMapper
- 実装されているすべてのインターフェース:
Aware、BeanFactoryAware、InboundMessageMapper<TcpConnection>、OutboundMessageMapper<ObjectSE>
- 導入:
- 3.0
- 作成者:
- Gary Russell, Artem Bilan
フィールドのサマリー
クラス org.springframework.integration.ip.tcp.connection.TcpMessageMapper から継承されたフィールド
loggerコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明@Nullable ObjectSEfromMessage(Message<?> message) @Nullable Message<?> toMessage(TcpConnection connection, @Nullable MapSE<StringSE, ObjectSE> headers) 提供されたオブジェクトをMessageに変換し、必要に応じて提供されたヘッダーを提供します。クラス org.springframework.integration.ip.tcp.connection.TcpMessageMapper から継承されたメソッド
addCustomHeaders, addStandardHeaders, getMessageBuilderFactory, setAddContentTypeHeader, setApplySequence, setBeanFactory, setBytesMessageMapper, setCharset, setContentType, setStringToBytes, supplyCustomHeadersクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.integration.mapping.InboundMessageMapper から継承されたメソッド
toMessage
コンストラクターの詳細
MessageConvertingTcpMessageMapper
メソッドの詳細
toMessage
public @Nullable Message<?> toMessage(TcpConnection connection, @Nullable MapSE<StringSE, ObjectSE> headers) インターフェースからコピーされた説明:InboundMessageMapper提供されたオブジェクトをMessageに変換し、必要に応じて提供されたヘッダーを提供します。- 次で指定:
- インターフェース
InboundMessageMapper<TcpConnection>のtoMessage - オーバーライド:
- クラス
TcpMessageMapperのtoMessage - パラメーター:
connection- メッセージペイロードまたはその他の変換ロジックのオブジェクトheaders- メッセージを作成するための追加ヘッダー。null にすることができます- 戻り値:
- マッピングの結果としてのメッセージ
fromMessage
- 次で指定:
- インターフェース
OutboundMessageMapper<ObjectSE>のfromMessage - オーバーライド:
- クラス
TcpMessageMapperのfromMessage