public class SimpleMailAttachment extends Object implements MailAttachment
| Constructor and Description |
|---|
SimpleMailAttachment() |
| Modifier and Type | Method and Description |
|---|---|
SimpleMailAttachment |
addHeader(String key,
String... values) |
String |
getContentId() |
String |
getContentType() |
reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> |
getData() |
String |
getDescription() |
String |
getDisposition() |
File |
getFile() |
org.springframework.util.MultiValueMap<String,String> |
getHeaders() |
String |
getName() |
SimpleMailAttachment |
removeHeader(String key) |
SimpleMailAttachment |
setContentId(String contentId) |
SimpleMailAttachment |
setContentType(String contentType) |
SimpleMailAttachment |
setData(reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> data) |
SimpleMailAttachment |
setDescription(String description) |
SimpleMailAttachment |
setDisposition(String disposition) |
SimpleMailAttachment |
setFile(File file) |
SimpleMailAttachment |
setHeaders(org.springframework.util.MultiValueMap<String,String> headers) |
SimpleMailAttachment |
setName(String name) |
public String getName()
getName in interface MailAttachmentpublic SimpleMailAttachment setName(String name)
setName in interface MailAttachmentpublic String getContentType()
getContentType in interface MailAttachmentpublic SimpleMailAttachment setContentType(String contentType)
setContentType in interface MailAttachmentpublic String getDisposition()
getDisposition in interface MailAttachmentpublic SimpleMailAttachment setDisposition(String disposition)
setDisposition in interface MailAttachmentpublic String getDescription()
getDescription in interface MailAttachmentpublic SimpleMailAttachment setDescription(String description)
setDescription in interface MailAttachmentpublic String getContentId()
getContentId in interface MailAttachmentpublic SimpleMailAttachment setContentId(String contentId)
setContentId in interface MailAttachmentpublic reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> getData()
getData in interface MailAttachmentpublic SimpleMailAttachment setData(reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> data)
setData in interface MailAttachmentpublic File getFile()
getFile in interface MailAttachmentpublic SimpleMailAttachment setFile(File file)
setFile in interface MailAttachmentpublic org.springframework.util.MultiValueMap<String,String> getHeaders()
getHeaders in interface MailAttachmentpublic SimpleMailAttachment setHeaders(org.springframework.util.MultiValueMap<String,String> headers)
setHeaders in interface MailAttachmentpublic SimpleMailAttachment addHeader(String key, String... values)
addHeader in interface MailAttachmentpublic SimpleMailAttachment removeHeader(String key)
removeHeader in interface MailAttachmentCopyright © 2019. All rights reserved.