|
MythTV master
|
#include <mythfrontend/serviceHosts/servicehost.h>
Public Member Functions | |
| ServiceHost (const QMetaObject &metaObject, const QString &sExtensionName, QString sBaseUrl, const QString &sSharePath) | |
| ~ServiceHost () override=default | |
| QStringList | GetBasePaths () override |
| bool | ProcessRequest (HTTPRequest *pRequest) override |
| virtual QString | GetServiceControlURL () |
| const QMetaObject & | GetServiceMetaObject () |
| const MetaInfoMap & | GetMethods () |
Public Member Functions inherited from HttpServerExtension | |
| HttpServerExtension (QString sName, QString sSharePath) | |
| ~HttpServerExtension () override=default | |
| virtual bool | ProcessRequest (HTTPRequest *pRequest)=0 |
| virtual bool | ProcessOptions (HTTPRequest *pRequest) |
| Handle an OPTIONS request. More... | |
| virtual QStringList | GetBasePaths ()=0 |
| virtual int | GetSocketTimeout () const |
Protected Member Functions | |
| virtual bool | FormatResponse (HTTPRequest *pRequest, QObject *pResults) |
| virtual bool | FormatResponse (HTTPRequest *pRequest, const QFileInfo &oInfo) |
| virtual bool | FormatResponse (HTTPRequest *pRequest, const QVariant &vValue) |
Protected Attributes | |
| QString | m_sBaseUrl |
| QMetaObject | m_oMetaObject {} |
| MetaInfoMap | m_methods |
Additional Inherited Members | |
Public Attributes inherited from HttpServerExtension | |
| QString | m_sName |
| QString | m_sSharePath |
| int | m_nSocketTimeout { -1 } |
| uint | m_nSupportedMethods |
Definition at line 64 of file servicehost.h.
| ServiceHost::ServiceHost | ( | const QMetaObject & | metaObject, |
| const QString & | sExtensionName, | ||
| QString | sBaseUrl, | ||
| const QString & | sSharePath | ||
| ) |
Definition at line 207 of file servicehost.cpp.
|
overridedefault |
|
protectedvirtual |
Definition at line 494 of file servicehost.cpp.
|
protectedvirtual |
Definition at line 517 of file servicehost.cpp.
|
protectedvirtual |
Definition at line 471 of file servicehost.cpp.
Referenced by FormatResponse(), and ProcessRequest().
|
overridevirtual |
Implements HttpServerExtension.
Definition at line 282 of file servicehost.cpp.
|
inline |
Definition at line 94 of file servicehost.h.
Referenced by Wsdl::GetWSDL().
|
inlinevirtual |
Definition at line 91 of file servicehost.h.
Referenced by Wsdl::GetWSDL().
|
inline |
Definition at line 93 of file servicehost.h.
Referenced by Wsdl::GetWSDL().
|
overridevirtual |
Implements HttpServerExtension.
Definition at line 291 of file servicehost.cpp.
|
protected |
Definition at line 71 of file servicehost.h.
Referenced by GetMethods(), ProcessRequest(), and ServiceHost().
|
protected |
Definition at line 70 of file servicehost.h.
Referenced by GetServiceMetaObject(), ProcessRequest(), and ServiceHost().
|
protected |
Definition at line 68 of file servicehost.h.
Referenced by GetBasePaths(), GetServiceControlURL(), and ProcessRequest().