Package | Description |
---|---|
com.hubspot.smtp.messages |
This package contains classes that represent the content of an email.
|
Modifier and Type | Method and Description |
---|---|
MessageContentEncoding |
InputStreamMessageContent.getEncoding() |
MessageContentEncoding |
ByteBufMessageContent.getEncoding() |
abstract MessageContentEncoding |
MessageContent.getEncoding()
Gets the
MessageContentEncoding of the content, indicating whether it
contains eight-bit characters. |
static MessageContentEncoding |
MessageContentEncoding.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageContentEncoding[] |
MessageContentEncoding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static MessageContent |
MessageContent.of(io.netty.buffer.ByteBuf messageBuffer,
MessageContentEncoding encoding)
|
static MessageContent |
MessageContent.of(com.google.common.io.ByteSource byteSource,
MessageContentEncoding encoding)
|
static MessageContent |
MessageContent.of(Supplier<InputStream> messageStream,
MessageContentEncoding encoding)
|
static MessageContent |
MessageContent.of(Supplier<InputStream> messageStream,
MessageContentEncoding encoding,
int size)
|
Constructor and Description |
---|
ByteBufMessageContent(io.netty.buffer.ByteBuf buffer,
MessageContentEncoding encoding) |
InputStreamMessageContent(com.google.common.io.ByteSource byteSource,
OptionalInt size,
MessageContentEncoding encoding) |
InputStreamMessageContent(Supplier<InputStream> streamSupplier,
OptionalInt size,
MessageContentEncoding encoding) |
Copyright © 2018. All rights reserved.