Package | Description |
---|---|
io.vertx.rxjava.ext.mail |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<MailAttachment> |
MailAttachment.__TYPE_ARG |
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
|
static MailAttachment |
MailAttachment.newInstance(MailAttachment arg) |
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(Observable<Buffer> stream)
Sets the data stream.
|
MailAttachment |
MailAttachment.setStream(ReadStream<Buffer> stream)
Sets the data stream.
|
Modifier and Type | Method and Description |
---|---|
static MailAttachment |
MailAttachment.create(MailAttachment other)
create a copy of a MailAttachment object
|
Copyright © 2024 Eclipse. All rights reserved.