MythTV  master
Static Public Member Functions | Protected Member Functions | List of all members
MythHTTPFile Class Reference

#include <mythhttpfile.h>

Inheritance diagram for MythHTTPFile:
Inheritance graph
[legend]
Collaboration diagram for MythHTTPFile:
Collaboration graph
[legend]

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 }
 

Detailed Description

Definition at line 10 of file mythhttpfile.h.

Constructor & Destructor Documentation

◆ MythHTTPFile()

MythHTTPFile::MythHTTPFile ( const QString &  ShortName,
const QString &  FullName 
)
protected

Default constructor.

Parameters
ShortNameThe filename will be shown in the 'Content-Disposition' header (i.e. just the name and extension with all path elements removed).
FullNameThe full path to the file on disk.

Definition at line 29 of file mythhttpfile.cpp.

Referenced by Create().

Member Function Documentation

◆ Create()

HTTPFile MythHTTPFile::Create ( const QString &  ShortName,
const QString &  FullName 
)
static

Definition at line 14 of file mythhttpfile.cpp.

Referenced by MythHTTPService::HTTPRequest(), and ProcessFile().

◆ ProcessFile()

HTTPResponse MythHTTPFile::ProcessFile ( const HTTPRequest2 Request)
static

The documentation for this class was generated from the following files: