| Package | Description |
|---|---|
| net.lecousin.framework.network.mime.entity |
Mime body entities.
|
| net.lecousin.framework.network.mime.header |
Utilities to set and analyse MIME header fields values.
|
| Modifier and Type | Method and Description |
|---|---|
MimeEntity |
MimeEntityFactory.create(MimeEntity parent,
MimeHeaders headers)
Create a MimeEntity.
|
MimeEntity |
FormDataEntity.FormDataPartFactory.create(MimeEntity parent,
MimeHeaders headers) |
void |
TextEntity.setCharset(Charset charset)
Set the charset to encode the text.
|
| Constructor and Description |
|---|
FormDataEntity(MimeEntity parent,
MimeHeaders headers)
Constructor.
|
MultipartEntity(MimeEntity parent,
MimeHeaders headers)
From existing headers.
|
TextEntity(MimeEntity parent,
MimeHeaders from)
From existing headers.
|
| Modifier and Type | Method and Description |
|---|---|
net.lecousin.framework.concurrent.async.AsyncSupplier<Boolean,MimeException> |
MimeHeaders.HeadersConsumer.consume(net.lecousin.framework.io.data.Bytes.Readable data) |
| Modifier and Type | Method and Description |
|---|---|
ParameterizedHeaderValue |
MimeHeaders.getContentType()
Parse the Content-Type header and return it, or null if it is not present.
|
<T extends HeaderValueFormat> |
MimeHeaders.getFirstValue(String name,
Class<T> format)
Return the value of the first header with the given name (case insensitive) parsed into the requested format, or null.
|
<T extends HeaderValueFormat> |
MimeHeader.getValue(Class<T> format)
Return the value parsed into the requested format.
|
<T extends HeaderValueFormat> |
MimeHeaders.getValues(String name,
Class<T> format)
Return the list of headers values with the given name (case insensitive), parsed into the requested format.
|
default void |
HeaderValueFormat.parseRawValue(String raw)
Parse the given raw value.
|
void |
ParameterizedHeaderValue.parseTokens(List<Token> tokens) |
void |
HeaderValues.parseTokens(List<Token> tokens) |
void |
HeaderValueFormat.parseTokens(List<Token> tokens)
Parse the given tokens.
|
Copyright © 2020. All rights reserved.