| Package | Description |
|---|---|
| net.lecousin.framework.network.mime |
Utilities for MIME based protocols.
|
| net.lecousin.framework.network.mime.entity |
Mime body entities.
|
| net.lecousin.framework.network.mime.transfer |
MIME transfer encoding.
|
| net.lecousin.framework.network.mime.transfer.encoding |
Content encoding.
|
| Modifier and Type | Method and Description |
|---|---|
static MimeMessage |
MimeUtil.mimeFromString(String content,
Charset charset,
String contentType)
Create a MimeMessage with a Content-Type header and the body from the given string.
|
| Modifier and Type | Method and Description |
|---|---|
static net.lecousin.framework.concurrent.synch.AsyncWork<MimeMessage,IOException> |
MimeUtil.parseMimeMessage(net.lecousin.framework.io.IO.Readable.Buffered input)
Parse the input and generate a MimeMessage.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FormDataEntity
form-data entity, see RFC 2388.
|
static class |
FormDataEntity.PartField
Part for a field.
|
static class |
FormDataEntity.PartFile
Part for a file.
|
class |
FormUrlEncodedEntity
Form parameters using x-www-form-urlencoded format.
|
class |
MimeEntity
A Mime entity is a Mime Message but the body has been parsed, or can be generated from the entity information.
|
class |
MultipartEntity
Multi-part entity, see RFC 1341.
|
class |
TextEntity
Text entity.
|
| Modifier and Type | Field and Description |
|---|---|
protected LinkedList<MimeMessage> |
MultipartEntity.parts |
| Modifier and Type | Method and Description |
|---|---|
<T extends MimeMessage> |
MultipartEntity.getPartsOfType(Class<T> type)
Return the parts compatible with the given type.
|
| Modifier and Type | Method and Description |
|---|---|
protected net.lecousin.framework.concurrent.synch.AsyncWork<MimeMessage,IOException> |
MultipartEntity.createPart(List<MimeHeader> headers,
net.lecousin.framework.io.buffering.IOInMemoryOrFile body,
boolean asReceived) |
protected net.lecousin.framework.concurrent.synch.AsyncWork<MimeMessage,IOException> |
FormDataEntity.createPart(List<MimeHeader> headers,
net.lecousin.framework.io.buffering.IOInMemoryOrFile body,
boolean asReceived) |
List<MimeMessage> |
MultipartEntity.getParts() |
| Modifier and Type | Method and Description |
|---|---|
void |
MultipartEntity.add(MimeMessage part)
Append a part.
|
static net.lecousin.framework.concurrent.synch.AsyncWork<TextEntity,IOException> |
TextEntity.from(MimeMessage mime,
boolean fromReceived)
Parse the body of the given MimeMessage into a TextEntity.
|
static net.lecousin.framework.concurrent.synch.AsyncWork<MultipartEntity,Exception> |
MultipartEntity.from(MimeMessage mime,
boolean fromReceived)
Parse the body of the given MimeMessage into a MultipartEntity.
|
static net.lecousin.framework.concurrent.synch.AsyncWork<FormUrlEncodedEntity,Exception> |
FormUrlEncodedEntity.from(MimeMessage mime,
boolean fromReceived)
Parse the body of the given MimeMessage into a FormUrlEncodedEntity.
|
| Constructor and Description |
|---|
FormUrlEncodedEntity(MimeMessage from) |
MimeEntity(MimeMessage from)
Constructor to inherit all headers from another message.
|
MultipartEntity(MimeMessage mime) |
TextEntity(MimeMessage from) |
| Modifier and Type | Field and Description |
|---|---|
protected MimeMessage |
TransferReceiver.mime |
| Modifier and Type | Method and Description |
|---|---|
static TransferReceiver |
TransferEncodingFactory.create(MimeMessage mime,
net.lecousin.framework.io.IO.Writable out)
Instantiate a TransferReceiver with a ContentDecoder based on the Transfer-Encoding,
Content-Transfer-Encoding and Content-Encoding headers.
|
| Constructor and Description |
|---|
ChunkedTransfer(MimeMessage mime,
ContentDecoder decoder)
Constructor.
|
IdentityTransfer(MimeMessage mime,
ContentDecoder decoder)
Constructor.
|
TransferReceiver(MimeMessage mime,
ContentDecoder decoder)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ContentDecoder |
ContentDecoderFactory.createDecoder(ContentDecoder next,
MimeMessage mime)
Create a ContentDecoder for the Content-Encoding or Content-Transfer-Encoding field of the given MIME.
|
static ContentDecoder |
ContentDecoderFactory.createDecoder(net.lecousin.framework.io.IO.Writable out,
MimeMessage mime)
Create a ContentDecoder for the Content-Encoding or Content-Transfer-Encoding field of the given MIME.
|
Copyright © 2018. All rights reserved.