|
MythTV master
|
#include <libmythbase/http/mythhttpfile.h>
Static Public Member Functions | |
| static HTTPFile | Create (const QString &ShortName, const QString &FullName) |
| static HTTPResponse | ProcessFile (const HTTPRequest2 &Request) |
Protected Member Functions | |
| MythHTTPFile (const QString &ShortName, const QString &FullName) | |
| Default constructor. More... | |
Additional Inherited Members | |
Public Member Functions inherited from MythHTTPContent | |
| MythHTTPContent (QString Name) | |
Public Attributes inherited from MythHTTPContent | |
| QString | m_fileName |
| HTTPRanges | m_ranges |
| int64_t | m_partialSize { 0 } |
| HTTPContents | m_multipartHeaders |
| int64_t | m_multipartHeaderSize { 0 } |
| int64_t | m_written { 0 } |
| MythHTTPEncode | m_encoding { HTTPNoEncode } |
| MythMimeType | m_mimeType { } |
| QDateTime | m_lastModified |
| QByteArray | m_etag |
| int | m_cacheType { HTTPIgnoreCache } |
Definition at line 10 of file mythhttpfile.h.
|
protected |
Default constructor.
| ShortName | The filename will be shown in the 'Content-Disposition' header (i.e. just the name and extension with all path elements removed). |
| FullName | The full path to the file on disk. |
Definition at line 29 of file mythhttpfile.cpp.
Referenced by Create().
|
static |
Definition at line 14 of file mythhttpfile.cpp.
Referenced by MythHTTPService::HTTPRequest(), and ProcessFile().
|
static |
Definition at line 35 of file mythhttpfile.cpp.
Referenced by MythHTTPSocket::Read(), MythHTTPRoot::RedirectRoot(), MythHTTPRewrite::RewriteFile(), and MythHTTPRewrite::RewriteToSPA().