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

Static Private Member Functions

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

Private Attributes

MythSettingList m_database_settings
 
MythSettingList m_general_settings
 

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()

virtual HttpConfig::~HttpConfig ( )
virtualdefault

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 366 of file httpconfig.cpp.

Referenced by ProcessRequest().

◆ OpenForm()

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

Definition at line 390 of file httpconfig.cpp.

Referenced by PrintHeader(), and ProcessRequest().

◆ CloseForm()

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

Definition at line 402 of file httpconfig.cpp.

Referenced by PrintFooter(), and ProcessRequest().

◆ PrintFooter()

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

Definition at line 413 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 424 of file httpconfig.cpp.

Referenced by ProcessRequest().

Member Data Documentation

◆ m_database_settings

MythSettingList HttpConfig::m_database_settings
private

Definition at line 33 of file httpconfig.h.

Referenced by ProcessRequest().

◆ m_general_settings

MythSettingList HttpConfig::m_general_settings
private

Definition at line 34 of file httpconfig.h.

Referenced by ProcessRequest().


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