MythTV  master
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
HttpConfig Class Reference

#include <httpconfig.h>

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

Public Member Functions

 HttpConfig ()
 
 ~HttpConfig () override=default
 
QStringList GetBasePaths () override
 
bool ProcessRequest (HTTPRequest *pRequest) override
 
- Public Member Functions inherited from HttpServerExtension
 HttpServerExtension (QString sName, QString sSharePath)
 
 ~HttpServerExtension () override=default
 
virtual bool ProcessOptions (HTTPRequest *pRequest)
 Handle an OPTIONS request. More...
 
virtual int GetSocketTimeout () const
 

Static Private Member Functions

static void PrintHeader (QBuffer &buffer, const QString &form, const QString &group="")
 
static void OpenForm (QBuffer &buffer, const QString &form, const QString &group="")
 
static void CloseForm (QBuffer &buffer, const QString &group="")
 
static void PrintFooter (QBuffer &buffer, const QString &group="")
 
static bool LoadSettings (MythSettingList &, const QString &hostname)
 
static void PrintSettings (QBuffer &buffer, const MythSettingList &settings)
 

Private Attributes

MythSettingList m_databaseSettings
 
MythSettingList m_generalSettings
 

Additional Inherited Members

- Public Attributes inherited from HttpServerExtension
QString m_sName
 
QString m_sSharePath
 
int m_nSocketTimeout
 
uint m_nSupportedMethods
 

Detailed Description

Definition at line 11 of file httpconfig.h.

Constructor & Destructor Documentation

◆ HttpConfig()

HttpConfig::HttpConfig ( )

Definition at line 17 of file httpconfig.cpp.

◆ ~HttpConfig()

HttpConfig::~HttpConfig ( )
overridedefault

Member Function Documentation

◆ GetBasePaths()

QStringList HttpConfig::GetBasePaths ( )
overridevirtual

Implements HttpServerExtension.

Definition at line 21 of file httpconfig.cpp.

◆ ProcessRequest()

bool HttpConfig::ProcessRequest ( HTTPRequest pRequest)
overridevirtual

Implements HttpServerExtension.

Definition at line 30 of file httpconfig.cpp.

◆ PrintHeader()

void HttpConfig::PrintHeader ( QBuffer &  buffer,
const QString &  form,
const QString &  group = "" 
)
staticprivate

Definition at line 358 of file httpconfig.cpp.

Referenced by ProcessRequest().

◆ OpenForm()

void HttpConfig::OpenForm ( QBuffer &  buffer,
const QString &  form,
const QString &  group = "" 
)
staticprivate

Definition at line 382 of file httpconfig.cpp.

Referenced by PrintHeader(), and ProcessRequest().

◆ CloseForm()

void HttpConfig::CloseForm ( QBuffer &  buffer,
const QString &  group = "" 
)
staticprivate

Definition at line 394 of file httpconfig.cpp.

Referenced by PrintFooter(), and ProcessRequest().

◆ PrintFooter()

void HttpConfig::PrintFooter ( QBuffer &  buffer,
const QString &  group = "" 
)
staticprivate

Definition at line 405 of file httpconfig.cpp.

Referenced by ProcessRequest().

◆ LoadSettings()

static bool HttpConfig::LoadSettings ( MythSettingList ,
const QString &  hostname 
)
staticprivate

◆ PrintSettings()

void HttpConfig::PrintSettings ( QBuffer &  buffer,
const MythSettingList settings 
)
staticprivate

Definition at line 416 of file httpconfig.cpp.

Referenced by ProcessRequest().

Member Data Documentation

◆ m_databaseSettings

MythSettingList HttpConfig::m_databaseSettings
private

Definition at line 33 of file httpconfig.h.

Referenced by ProcessRequest().

◆ m_generalSettings

MythSettingList HttpConfig::m_generalSettings
private

Definition at line 34 of file httpconfig.h.

Referenced by ProcessRequest().


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