#include <tmultipartformdata.h>
The TMimeHeader class contains MIME header information for internet.
◆ TMimeHeader() [1/2]
TMimeHeader::TMimeHeader |
( |
| ) |
|
|
inline |
◆ TMimeHeader() [2/2]
◆ contentDispositionParameter()
QByteArray TMimeHeader::contentDispositionParameter |
( |
const QByteArray & |
name | ) |
const |
Returns the value of the parameter name in the header field content-disposition.
◆ dataName()
QByteArray TMimeHeader::dataName |
( |
| ) |
const |
Returns the value of the 'name' parameter in the header field content-disposition.
◆ header()
QByteArray TMimeHeader::header |
( |
const QByteArray & |
headerName | ) |
const |
Returns the value of the header headerName.
◆ isEmpty()
bool TMimeHeader::isEmpty |
( |
| ) |
const |
|
inline |
Returns true if the MIME header is empty; otherwise returns false.
◆ operator=()
◆ originalFileName()
QString TMimeHeader::originalFileName |
( |
| ) |
const |
Returns the value of the 'filename' parameter in the header field content-disposition, indicating the original name of the file before uploading.
◆ parseHeaderParameter()
QMap< QByteArray, QByteArray > TMimeHeader::parseHeaderParameter |
( |
const QByteArray & |
header | ) |
|
|
staticprotected |
Parses the MIME header header and returns the map of those headers.
This function is for internal use only.
◆ setHeader()
void TMimeHeader::setHeader |
( |
const QByteArray & |
headerName, |
|
|
const QByteArray & |
value |
|
) |
| |
Sets the header headerName to be of value value.
The documentation for this class was generated from the following files: