インターフェースの使用
org.springframework.ws.mime.Attachment
Attachment を使用するパッケージ
パッケージ
説明
Spring Web Services フレームワークを使用するための MIME 機能を提供します。
Spring-WS SOAP メッセージインフラストラクチャの AXis オブジェクトモデル (AXIOM) サポート。
Spring-WSSOAP メッセージインフラストラクチャの Java 用添付 API(SAAJ)サポートを備えた SOAP。
org.springframework.ws.mime 内の Attachment 使用
Attachment を返す org.springframework.ws.mime のメソッド修飾子と型メソッド説明final AttachmentAbstractMimeMessage.addAttachment(StringSE contentId, FileSE file) final AttachmentAbstractMimeMessage.addAttachment(StringSE contentId, org.springframework.core.io.InputStreamSource inputStreamSource, StringSE contentType) MimeMessage.addAttachment(StringSE contentId, jakarta.activation.DataHandler dataHandler) DataHandlerからコンテンツを取得して、メッセージに添付ファイルを追加します。MimeMessage.addAttachment(StringSE contentId, FileSE file) FileSE からコンテンツを取得して、メッセージに添付ファイルを追加します。MimeMessage.addAttachment(StringSE contentId, org.springframework.core.io.InputStreamSource inputStreamSource, StringSE contentType) InputStreamSourceからコンテンツを取得して、メッセージに添付ファイルを追加します。@Nullable AttachmentMimeMessage.getAttachment(StringSE contentId) 指定されたコンテンツ ID を持つAttachmentを返します。型 Attachment の引数を持つ型を返す org.springframework.ws.mime のメソッドorg.springframework.ws.soap.axiom 内の Attachment 使用
Attachment を返す org.springframework.ws.soap.axiom のメソッド修飾子と型メソッド説明AxiomSoapMessage.addAttachment(StringSE contentId, jakarta.activation.DataHandler dataHandler) @Nullable AttachmentAxiomSoapMessage.getAttachment(StringSE contentId) 型 Attachment の引数を持つ型を返す org.springframework.ws.soap.axiom のメソッドorg.springframework.ws.soap.saaj 内の Attachment 使用
Attachment を返す org.springframework.ws.soap.saaj のメソッド修飾子と型メソッド説明SaajSoapMessage.addAttachment(StringSE contentId, jakarta.activation.DataHandler dataHandler) @Nullable AttachmentSaajSoapMessage.getAttachment(StringSE contentId) 型 Attachment の引数を持つ型を返す org.springframework.ws.soap.saaj のメソッド