| 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 |
|---|---|
FormDataEntity.PartFile |
FormDataEntity.addFile(String fieldName,
String filename,
ParameterizedHeaderValue contentType,
net.lecousin.framework.io.IO.Readable content)
Append a file.
|
void |
BinaryEntity.setContentType(ParameterizedHeaderValue contentType)
Set the Content-Type.
|
| Constructor and Description |
|---|
BinaryEntity(MimeEntity parent,
ParameterizedHeaderValue contentType,
net.lecousin.framework.io.IO.Readable content)
Constructor.
|
BinaryEntity(ParameterizedHeaderValue contentType,
net.lecousin.framework.io.IO.Readable content)
Constructor.
|
BinaryFileEntity(MimeEntity parent,
ParameterizedHeaderValue contentType,
File file)
Constructor.
|
BinaryFileEntity(ParameterizedHeaderValue contentType,
File file)
Constructor.
|
PartFile(FormDataEntity parent,
String fieldName,
String filename,
ParameterizedHeaderValue contentType,
net.lecousin.framework.io.IO.Readable content)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ParameterizedHeaderValue |
MimeHeaders.getContentType()
Parse the Content-Type header and return it, or null if it is not present.
|
ParameterizedHeaderValue |
ParameterizedHeaderValues.getMainValue(String value)
Return the value having the given main value.
|
protected ParameterizedHeaderValue |
ParameterizedHeaderValues.newValue() |
Copyright © 2020. All rights reserved.