Package | Description |
---|---|
io.vertx.ext.mail | |
io.vertx.reactivex.ext.mail | |
io.vertx.rxjava.ext.mail |
Modifier and Type | Method and Description |
---|---|
MailAttachment |
MailAttachment.addHeader(String key,
String value)
Add an header to this attachment.
|
static MailAttachment |
MailAttachment.create()
construct an empty MailAttachment object that can be filled with the
setters
|
static MailAttachment |
MailAttachment.create(JsonObject json)
create a MailAttachment object from a JsonObject representation
|
static MailAttachment |
MailAttachment.create(MailAttachment other)
create a copy of a MailAttachment object
|
MailAttachment |
MailAttachment.setContentId(String contentId)
set the Content-ID field to be used in the attachment
|
MailAttachment |
MailAttachment.setContentType(String contentType)
set the Content-Type
|
MailAttachment |
MailAttachment.setData(Buffer data)
set the data
|
MailAttachment |
MailAttachment.setDescription(String description)
set the description field to be used in the attachment
|
MailAttachment |
MailAttachment.setDisposition(String disposition)
set the disposition field to be used in the attachment
|
MailAttachment |
MailAttachment.setHeaders(MultiMap headers)
Set the headers to be added for this attachment.
|
MailAttachment |
MailAttachment.setName(String name)
set the name
|
MailAttachment |
MailAttachment.setSize(int size)
Sets the size of the attachment.
|
MailAttachment |
MailAttachment.setStream(ReadStream<Buffer> stream)
Sets the data stream.
|
Modifier and Type | Method and Description |
---|---|
List<MailAttachment> |
MailMessage.getAttachment()
get the list of attachments of this mail
|
List<MailAttachment> |
MailMessage.getInlineAttachment()
get the list of inline attachments of this mail
|
Modifier and Type | Method and Description |
---|---|
static MailAttachment |
MailAttachment.create(MailAttachment other)
create a copy of a MailAttachment object
|
MailMessage |
MailMessage.setAttachment(MailAttachment attachment)
set a single attachment of this mail
|
MailMessage |
MailMessage.setInlineAttachment(MailAttachment inlineAttachment)
set a single inline attachment of this mail
|
Modifier and Type | Method and Description |
---|---|
MailMessage |
MailMessage.setAttachment(List<MailAttachment> attachment)
set the list of attachments of this mail
|
MailMessage |
MailMessage.setInlineAttachment(List<MailAttachment> inlineAttachment)
set the list of inline attachments of this mail
|
Modifier and Type | Method and Description |
---|---|
MailAttachment |
MailAttachment.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static MailAttachment |
MailAttachment.newInstance(MailAttachment arg) |
Constructor and Description |
---|
MailAttachment(MailAttachment delegate) |
Modifier and Type | Method and Description |
---|---|
MailAttachment |
MailAttachment.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static MailAttachment |
MailAttachment.newInstance(MailAttachment arg) |
Constructor and Description |
---|
MailAttachment(MailAttachment delegate) |
Copyright © 2021 Eclipse. All rights reserved.