クラス Mail
java.lang.ObjectSE
org.springframework.integration.mail.dsl.Mail
Spring Integration メールコンポーネントのファクトリ。
- 導入:
- 5.0
- 作成者:
- Gary Russell, Artem Bilan
方法の概要
修飾子と型メソッド説明static MailHeadersBuilderheaders()MailHeadersBuilderファクトリ。static ImapIdleChannelAdapterSpecデフォルトのImapMailReceiverを使用するImapIdleChannelAdapterSpecファクトリ。static ImapIdleChannelAdapterSpecimapIdleAdapter(StringSE url) 提供された URL に基づくImapIdleChannelAdapterSpecファクトリ。static ImapIdleChannelAdapterSpecimapIdleAdapter(ImapMailReceiver imapMailReceiver) 提供されたImapMailReceiverに基づくImapIdleChannelAdapterSpecファクトリ。デフォルトのImapMailReceiverを使用するImapMailInboundChannelAdapterSpecファクトリ。提供された URL に基づくImapMailInboundChannelAdapterSpecファクトリ。imapInboundAdapter(ImapMailReceiver imapMailReceiver) 提供されたImapMailReceiverに基づくImapMailInboundChannelAdapterSpecファクトリ。outboundAdapter(@Nullable StringSE host) hostを提供することに基づくMailSendingMessageHandlerSpecファクトリ。static MailSendingMessageHandleroutboundAdapter(MailSender mailSender) 提供されたMailSenderに基づいてMailSendingMessageHandlerを作成するための便利なファクトリメソッド。デフォルトのPop3MailReceiverを使用するPop3MailInboundChannelAdapterSpecファクトリ。提供された URL に基づくPop3MailInboundChannelAdapterSpecファクトリ。pop3InboundAdapter(StringSE host, int port, StringSE username, StringSE password) 指定されたホスト、ポート、ユーザー、パスワードに基づくPop3MailInboundChannelAdapterSpecファクトリ。pop3InboundAdapter(StringSE host, StringSE username, StringSE password) 指定されたホスト、ユーザー、パスワード、デフォルトポートに基づくPop3MailInboundChannelAdapterSpecファクトリ。pop3InboundAdapter(Pop3MailReceiver pop3MailReceiver) 提供されたPop3MailReceiverに基づくPop3MailInboundChannelAdapterSpecファクトリ。static MailToStringTransformerMailToStringTransformerファクトリ。static MailToStringTransformertoStringTransformer(@Nullable StringSE charset) MailToStringTransformerファクトリ。
方法の詳細
outboundAdapter
MailSendingMessageHandlerSpecファクトリ。注: Java メールのプロパティは、特定のホストで提供する必要があります。- 戻り値:
MailSendingMessageHandlerSpecインスタンス。- 導入:
- 5.1.3
- 関連事項:
outboundAdapter
hostを提供することに基づくMailSendingMessageHandlerSpecファクトリ。- パラメーター:
host- 接続するメールホスト。- 戻り値:
MailSendingMessageHandlerSpecインスタンス。
outboundAdapter
提供されたMailSenderに基づいてMailSendingMessageHandlerを作成するための便利なファクトリメソッド。- パラメーター:
mailSender- メール送信操作を使用するMailSender。- 戻り値:
MailSendingMessageHandlerインスタンス。- 導入:
- 5.1.3
pop3InboundAdapter
デフォルトのPop3MailReceiverを使用するPop3MailInboundChannelAdapterSpecファクトリ。- 戻り値:
Pop3MailInboundChannelAdapterSpecインスタンス。
pop3InboundAdapter
public static Pop3MailInboundChannelAdapterSpec pop3InboundAdapter(Pop3MailReceiver pop3MailReceiver) 提供されたPop3MailReceiverに基づくPop3MailInboundChannelAdapterSpecファクトリ。- パラメーター:
pop3MailReceiver- 使用するPop3MailReceiver。- 戻り値:
Pop3MailInboundChannelAdapterSpecインスタンス。
pop3InboundAdapter
提供された URL に基づくPop3MailInboundChannelAdapterSpecファクトリ。- パラメーター:
url- pop3 の URL- 戻り値:
Pop3MailInboundChannelAdapterSpecインスタンス。
pop3InboundAdapter
public static Pop3MailInboundChannelAdapterSpec pop3InboundAdapter(StringSE host, StringSE username, StringSE password) 指定されたホスト、ユーザー、パスワード、デフォルトポートに基づくPop3MailInboundChannelAdapterSpecファクトリ。- パラメーター:
host- ザホスト。username- ユーザー。password- パスワード。- 戻り値:
Pop3MailInboundChannelAdapterSpecインスタンス。
pop3InboundAdapter
public static Pop3MailInboundChannelAdapterSpec pop3InboundAdapter(StringSE host, int port, StringSE username, StringSE password) 指定されたホスト、ポート、ユーザー、パスワードに基づくPop3MailInboundChannelAdapterSpecファクトリ。- パラメーター:
host- ザホスト。port- ポート。username- ユーザー。password- パスワード。- 戻り値:
Pop3MailInboundChannelAdapterSpecインスタンス。
imapInboundAdapter
デフォルトのImapMailReceiverを使用するImapMailInboundChannelAdapterSpecファクトリ。- 戻り値:
ImapMailInboundChannelAdapterSpecインスタンス。
imapInboundAdapter
public static ImapMailInboundChannelAdapterSpec imapInboundAdapter(ImapMailReceiver imapMailReceiver) 提供されたImapMailReceiverに基づくImapMailInboundChannelAdapterSpecファクトリ。- パラメーター:
imapMailReceiver- 使用するImapMailReceiver。- 戻り値:
ImapMailInboundChannelAdapterSpecインスタンス。
imapInboundAdapter
提供された URL に基づくImapMailInboundChannelAdapterSpecファクトリ。- パラメーター:
url- imap URL- 戻り値:
ImapMailInboundChannelAdapterSpecインスタンス。
imapIdleAdapter
デフォルトのImapMailReceiverを使用するImapIdleChannelAdapterSpecファクトリ。- 戻り値:
ImapIdleChannelAdapterSpecインスタンス。
imapIdleAdapter
提供された URL に基づくImapIdleChannelAdapterSpecファクトリ。- パラメーター:
url- imap URL- 戻り値:
ImapIdleChannelAdapterSpecインスタンス。
imapIdleAdapter
提供されたImapMailReceiverに基づくImapIdleChannelAdapterSpecファクトリ。- パラメーター:
imapMailReceiver- 使用するImapMailReceiver。- 戻り値:
ImapIdleChannelAdapterSpecインスタンス。
headers
toStringTransformer
MailToStringTransformerファクトリ。- 戻り値:
- トランス。
toStringTransformer
MailToStringTransformerファクトリ。- パラメーター:
charset- デフォルトが適切でない場合に使用する文字セット。- 戻り値:
- トランス。