| Package | Description |
|---|---|
| ru.dlabs71.library.email.dto.message.common |
This package contains all the common classes for constructing message DTOs.
|
| ru.dlabs71.library.email.dto.message.outgoing |
This package contains all the DTOs for outgoing messages.
|
| ru.dlabs71.library.email.type |
This package contains all the enums using in this library.
|
| Modifier and Type | Method and Description |
|---|---|
TransferEncoder |
Message.getTransferEncoder()
Returns the value of Content-Transfer-Encoding header.
|
| Modifier and Type | Method and Description |
|---|---|
TemplatedOutgoingMessage.TemplatedMessageBuilder |
TemplatedOutgoingMessage.TemplatedMessageBuilder.transferEncoder(TransferEncoder transferEncoder)
Sets a value for a Content-Transfer-Encoding header.
|
DefaultOutgoingMessage.Builder |
DefaultOutgoingMessage.Builder.transferEncoder(TransferEncoder encoding)
Sets a value for a Content-Transfer-Encoding header.
|
| Constructor and Description |
|---|
DefaultOutgoingMessage(String subject,
List<ContentMessage> contents,
Set<EmailParticipant> recipientEmail,
List<EmailAttachment> attachments,
TransferEncoder transferEncoder)
The constructor of this class.
|
DefaultOutgoingMessage(String subject,
String content,
Charset charsetContent,
ContentMessageType contentType,
Set<EmailParticipant> recipientEmail,
List<EmailAttachment> attachments,
TransferEncoder transferEncoder)
The constructor of this class.
|
TemplatedOutgoingMessage(String subject,
String pathToTemplate,
Map<String,Object> params,
Charset charsetContent,
ContentMessageType contentType,
Set<EmailParticipant> recipientEmail,
List<EmailAttachment> attachments,
TransferEncoder transferEncoder)
The constructor if this message.
|
| Modifier and Type | Method and Description |
|---|---|
static TransferEncoder |
TransferEncoder.byDefault()
Returns default value for a Content-Transfer-Encoding header.
|
static TransferEncoder |
TransferEncoder.forName(String value)
Finds corresponding enum value for string in the argument.
|
static TransferEncoder |
TransferEncoder.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferEncoder[] |
TransferEncoder.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2023. All rights reserved.