MythTV
master
|
#include <libmythupnp/httprequest.h>
Public Member Functions | |
HTTPRequest () | |
virtual | ~HTTPRequest ()=default |
bool | ParseRequest () |
void | FormatErrorResponse (bool bServerError, const QString &sFaultString, const QString &sDetails) |
void | FormatActionResponse (Serializer *ser) |
void | FormatActionResponse (const NameValues &pArgs) |
void | FormatFileResponse (const QString &sFileName) |
void | FormatRawResponse (const QString &sXML) |
qint64 | SendResponse (void) |
qint64 | SendResponseFile (const QString &sFileName) |
void | SetResponseHeader (const QString &sKey, const QString &sValue, bool replace=false) |
void | SetCookie (const QString &sKey, const QString &sValue, const QDateTime &expiryDate, bool secure) |
QString | GetRequestHeader (const QString &sKey, const QString &sDefault) |
bool | GetKeepAlive () const |
Serializer * | GetSerializer () |
QByteArray | GetResponsePage (void) |
QString | GetRequestProtocol () const |
QString | GetRequestType () const |
QString | GetLastHeader (const QString &sType) const |
void | SetKeepAliveTimeout (std::chrono::seconds nTimeout) |
virtual QString | ReadLine (std::chrono::milliseconds msecs)=0 |
virtual qint64 | ReadBlock (char *pData, qint64 nMaxLen, std::chrono::milliseconds msecs=0ms)=0 |
virtual qint64 | WriteBlock (const char *pData, qint64 nLen)=0 |
virtual QString | GetHostName () |
virtual QString | GetHostAddress ()=0 |
virtual quint16 | GetHostPort ()=0 |
virtual QString | GetPeerAddress ()=0 |
virtual int | getSocketHandle ()=0 |
Static Public Member Functions | |
static QString | GetResponseProtocol () |
static QString | GetMimeType (const QString &sFileExtension) |
static QStringList | GetSupportedMimeTypes () |
static QString | TestMimeType (const QString &sFileName) |
static long | GetParameters (QString sParams, QStringMap &mapParams) |
static QString | Encode (const QString &sIn) |
static QString | Decode (const QString &sIn) |
static QString | GetETagHash (const QByteArray &data) |
static bool | IsUrlProtected (const QString &sBaseUrl) |
Public Attributes | |
HttpRequestType | m_eType {RequestTypeUnknown} |
HttpContentType | m_eContentType {ContentType_Unknown} |
QString | m_sRawRequest |
QString | m_sOriginalUrl |
QString | m_sRequestUrl |
QString | m_sBaseUrl |
QString | m_sResourceUrl |
QString | m_sMethod |
QStringMap | m_mapParams |
QStringMultiMap | m_mapHeaders |
QStringMap | m_mapCookies |
QString | m_sPayload |
QString | m_sProtocol |
int | m_nMajor {0} |
int | m_nMinor {0} |
bool | m_bProtected {false} |
bool | m_bEncrypted {false} |
bool | m_bSOAPRequest {false} |
QString | m_sNameSpace |
HttpResponseType | m_eResponseType {ResponseTypeUnknown} |
QString | m_sResponseTypeText |
long | m_nResponseStatus {200} |
QStringMap | m_mapRespHeaders |
QString | m_sFileName |
QBuffer | m_response |
IPostProcess * | m_pPostProcess {nullptr} |
QString | m_sPrivateToken |
MythUserSession | m_userSession |
Protected Member Functions | |
HttpRequestType | SetRequestType (const QString &sType) |
void | SetRequestProtocol (const QString &sLine) |
HttpContentType | SetContentType (const QString &sType) |
void | ProcessRequestLine (const QString &sLine) |
bool | ProcessSOAPPayload (const QString &sSOAPAction) |
void | ExtractMethodFromURL () |
QString | GetResponseStatus (void) const |
QString | GetResponseType (void) const |
QString | GetResponseHeaders (void) |
bool | ParseRange (QString sRange, long long llSize, long long *pllStart, long long *pllEnd) |
bool | ParseKeepAlive (void) |
void | ParseCookies (void) |
QString | BuildResponseHeader (long long nSize) |
qint64 | SendData (QIODevice *pDevice, qint64 llStart, qint64 llBytes) |
qint64 | SendFile (QFile &file, qint64 llStart, qint64 llBytes) |
bool | IsProtected () const |
bool | IsEncrypted () const |
bool | Authenticated () |
QString | GetAuthenticationHeader (bool isStale=false) |
QString | CalculateDigestNonce (const QString &timeStamp) const |
bool | BasicAuthentication () |
bool | DigestAuthentication () |
void | AddCORSHeaders (const QString &sOrigin) |
Protected Attributes | |
QRegularExpression | m_procReqLineExp {"\\s+"} |
QRegularExpression | m_parseRangeExp {"(\\d|\\-)"} |
Static Protected Attributes | |
static const char * | s_szServerHeaders = "Accept-Ranges: bytes\r\n" |
Private Attributes | |
bool | m_bKeepAlive {true} |
std::chrono::seconds | m_nKeepAliveTimeout {0s} |
Definition at line 109 of file httprequest.h.
|
inline |
Definition at line 210 of file httprequest.h.
|
virtualdefault |
|
protected |
Definition at line 166 of file httprequest.cpp.
Referenced by ProcessRequestLine().
|
protected |
Definition at line 836 of file httprequest.cpp.
Referenced by ProcessRequestLine().
|
protected |
Definition at line 881 of file httprequest.cpp.
Referenced by ParseRequest().
|
protected |
Definition at line 1396 of file httprequest.cpp.
Referenced by ParseRequest().
|
protected |
Definition at line 1588 of file httprequest.cpp.
Referenced by ParseRequest().
|
protected |
Definition at line 1562 of file httprequest.cpp.
Referenced by ParseRequest().
|
protected |
Definition at line 903 of file httprequest.cpp.
Referenced by BuildResponseHeader(), GetResponsePage(), and SendResponse().
|
protected |
Definition at line 966 of file httprequest.cpp.
Referenced by BuildResponseHeader().
|
protected |
Definition at line 1129 of file httprequest.cpp.
Referenced by BuildResponseHeader().
|
protected |
Definition at line 1463 of file httprequest.cpp.
Referenced by SendResponseFile().
|
protected |
Definition at line 1148 of file httprequest.cpp.
Referenced by ParseRequest().
|
protected |
Definition at line 1184 of file httprequest.cpp.
Referenced by ParseRequest().
|
protected |
Definition at line 193 of file httprequest.cpp.
Referenced by SendResponse(), and SendResponseFile().
|
protected |
Definition at line 598 of file httprequest.cpp.
Referenced by SendFile(), and SendResponse().
|
protected |
Definition at line 648 of file httprequest.cpp.
Referenced by SendResponseFile().
|
inlineprotected |
Definition at line 197 of file httprequest.h.
|
inlineprotected |
Definition at line 198 of file httprequest.h.
Referenced by BasicAuthentication(), DigestAuthentication(), and SetCookie().
|
protected |
Definition at line 2077 of file httprequest.cpp.
Referenced by ParseRequest().
Definition at line 1816 of file httprequest.cpp.
Referenced by DigestAuthentication(), and ParseRequest().
|
protected |
Definition at line 1846 of file httprequest.cpp.
Referenced by DigestAuthentication(), and GetAuthenticationHeader().
|
protected |
Definition at line 1858 of file httprequest.cpp.
Referenced by Authenticated().
|
protected |
Definition at line 1917 of file httprequest.cpp.
Referenced by Authenticated().
|
protected |
Definition at line 2220 of file httprequest.cpp.
Referenced by BuildResponseHeader().
bool HTTPRequest::ParseRequest | ( | ) |
Definition at line 1202 of file httprequest.cpp.
Referenced by HttpWorker::run().
void HTTPRequest::FormatErrorResponse | ( | bool | bServerError, |
const QString & | sFaultString, | ||
const QString & | sDetails | ||
) |
Definition at line 660 of file httprequest.cpp.
Referenced by UPnp::FormatErrorResponse().
void HTTPRequest::FormatActionResponse | ( | Serializer * | ser | ) |
Definition at line 700 of file httprequest.cpp.
Referenced by ServiceHost::FormatResponse(), SSDPExtension::GetDeviceList(), InternetContent::GetInternetSources(), UPnpCDS::HandleBrowse(), UPnpCMGR::HandleGetCurrentConnectionIDs(), UPnpCMGR::HandleGetCurrentConnectionInfo(), UPnpCMGR::HandleGetFeatureList(), UPnpCDS::HandleGetFeatureList(), UPnpCMGR::HandleGetProtocolInfo(), UPnpCDS::HandleGetSearchCapabilities(), UPnpCDS::HandleGetServiceResetToken(), UPnpCDS::HandleGetSortCapabilities(), UPnpCDS::HandleGetSystemUpdateID(), UPnpMSRR::HandleIsAuthorized(), UPnpMSRR::HandleIsValidated(), UPnpMSRR::HandleRegisterDevice(), and UPnpCDS::HandleSearch().
void HTTPRequest::FormatActionResponse | ( | const NameValues & | pArgs | ) |
Definition at line 715 of file httprequest.cpp.
void HTTPRequest::FormatFileResponse | ( | const QString & | sFileName | ) |
Definition at line 792 of file httprequest.cpp.
Referenced by ServiceHost::FormatResponse(), HttpConfig::ProcessRequest(), HtmlServerExtension::ProcessRequest(), MythFEXML::ProcessRequest(), UPnpMSRR::ProcessRequest(), UPnpCMGR::ProcessRequest(), and UPnpCDS::ProcessRequest().
void HTTPRequest::FormatRawResponse | ( | const QString & | sXML | ) |
Definition at line 777 of file httprequest.cpp.
Referenced by InternetContent::GetInternetContent(), and InternetContent::GetInternetSearch().
qint64 HTTPRequest::SendResponse | ( | void | ) |
Definition at line 301 of file httprequest.cpp.
Referenced by UPnp::FormatRedirectResponse(), and HttpWorker::run().
qint64 HTTPRequest::SendResponseFile | ( | const QString & | sFileName | ) |
Definition at line 453 of file httprequest.cpp.
Referenced by SendResponse().
void HTTPRequest::SetResponseHeader | ( | const QString & | sKey, |
const QString & | sValue, | ||
bool | replace = false |
||
) |
Definition at line 2100 of file httprequest.cpp.
Referenced by AddCORSHeaders(), BuildResponseHeader(), DigestAuthentication(), ServerSideScripting::EvaluatePage(), FormatFileResponse(), ParseRequest(), HttpServerExtension::ProcessOptions(), HtmlServerExtension::ProcessRequest(), SendResponse(), and SetCookie().
void HTTPRequest::SetCookie | ( | const QString & | sKey, |
const QString & | sValue, | ||
const QDateTime & | expiryDate, | ||
bool | secure | ||
) |
Definition at line 2113 of file httprequest.cpp.
Referenced by BasicAuthentication(), DigestAuthentication(), and ParseRequest().
QString HTTPRequest::GetRequestHeader | ( | const QString & | sKey, |
const QString & | sDefault | ||
) |
Definition at line 1114 of file httprequest.cpp.
Referenced by BuildResponseHeader(), UPnpCDS::DetermineClient(), FormatFileResponse(), SSDPExtension::GetDeviceDesc(), GetSerializer(), Eventing::HandleSubscribe(), Eventing::HandleUnsubscribe(), ParseKeepAlive(), ParseRequest(), SendResponse(), and SendResponseFile().
|
inline |
Definition at line 237 of file httprequest.h.
Referenced by HttpWorker::run().
Serializer * HTTPRequest::GetSerializer | ( | ) |
Definition at line 1709 of file httprequest.cpp.
Referenced by ServiceHost::FormatResponse().
QByteArray HTTPRequest::GetResponsePage | ( | void | ) |
Definition at line 957 of file httprequest.cpp.
Referenced by HttpServer::DelegateRequest(), FormatFileResponse(), SSDPExtension::GetFile(), ParseRequest(), HtmlServerExtension::ProcessRequest(), HttpWorker::run(), and SendResponseFile().
QString HTTPRequest::GetRequestProtocol | ( | ) | const |
Definition at line 849 of file httprequest.cpp.
Referenced by ServerSideScripting::EvaluatePage().
|
static |
Definition at line 860 of file httprequest.cpp.
Referenced by BuildResponseHeader().
QString HTTPRequest::GetRequestType | ( | ) | const |
Definition at line 2180 of file httprequest.cpp.
Referenced by DigestAuthentication(), and ServerSideScripting::EvaluatePage().
QString HTTPRequest::GetLastHeader | ( | const QString & | sType | ) | const |
Definition at line 154 of file httprequest.cpp.
Referenced by Authenticated(), BasicAuthentication(), DigestAuthentication(), UPnp::FormatRedirectResponse(), GetHostName(), Wsdl::GetWSDL(), ParseRequest(), UPNPSubscription::ProcessRequest(), Xsd::RenderArrayXSD(), Xsd::RenderMapXSD(), and Xsd::RenderXSD().
|
static |
Definition at line 986 of file httprequest.cpp.
Referenced by UPnpCDSMusic::LoadTracks(), UPnpCDSVideo::LoadVideos(), HtmlServerExtension::ProcessRequest(), and TestMimeType().
|
static |
Definition at line 1005 of file httprequest.cpp.
Referenced by GetSinkProtocolInfos(), and GetSourceProtocolInfos().
|
static |
Definition at line 1022 of file httprequest.cpp.
Referenced by UPnpCDSTv::LoadRecordings(), ImportConfigurationGroup::probeCard(), DemoConfigurationGroup::probeCard(), and SendResponseFile().
|
static |
Definition at line 1075 of file httprequest.cpp.
Referenced by ParseRequest(), and ProcessRequestLine().
|
static |
Definition at line 1746 of file httprequest.cpp.
Referenced by Property::AddAttribute(), Resource::AddAttribute(), UPnPShortcutFeature::CreateXML(), FormatActionResponse(), UPnp::FormatErrorResponse(), Property::GetEncodedValue(), Property::Property(), and Resource::Resource().
|
static |
Definition at line 1770 of file httprequest.cpp.
|
static |
Definition at line 1786 of file httprequest.cpp.
|
inline |
Definition at line 257 of file httprequest.h.
Referenced by HttpWorker::run().
|
static |
Definition at line 1797 of file httprequest.cpp.
Referenced by ParseRequest().
|
pure virtual |
Implemented in BufferedSocketDeviceRequest.
Referenced by ParseRequest().
|
pure virtual |
Implemented in BufferedSocketDeviceRequest.
Referenced by ParseRequest().
|
pure virtual |
Implemented in BufferedSocketDeviceRequest.
Referenced by SendData(), SendResponse(), and SendResponseFile().
|
virtual |
Definition at line 2154 of file httprequest.cpp.
Referenced by ServerSideScripting::EvaluatePage().
|
pure virtual |
Implemented in BufferedSocketDeviceRequest.
Referenced by ServerSideScripting::EvaluatePage(), SSDPExtension::GetDeviceDesc(), and GetHostName().
|
pure virtual |
Implemented in BufferedSocketDeviceRequest.
Referenced by ServerSideScripting::EvaluatePage().
|
pure virtual |
Implemented in BufferedSocketDeviceRequest.
Referenced by BasicAuthentication(), DigestAuthentication(), ServerSideScripting::EvaluatePage(), and SendResponse().
|
pure virtual |
Implemented in BufferedSocketDeviceRequest.
Referenced by ParseRange(), and ParseRequest().
|
staticprotected |
Definition at line 113 of file httprequest.h.
Referenced by GetResponseHeaders().
|
protected |
Definition at line 115 of file httprequest.h.
Referenced by ProcessRequestLine().
|
protected |
Definition at line 116 of file httprequest.h.
Referenced by ParseRange().
HttpRequestType HTTPRequest::m_eType {RequestTypeUnknown} |
Definition at line 120 of file httprequest.h.
Referenced by HttpServer::DelegateRequest(), GetRequestType(), ParseRequest(), UPNPSubscription::ProcessRequest(), HtmlServerExtension::ProcessRequest(), ServiceHost::ProcessRequest(), Eventing::ProcessRequest(), ProcessRequestLine(), HttpWorker::run(), SendResponse(), SendResponseFile(), and SetRequestType().
HttpContentType HTTPRequest::m_eContentType {ContentType_Unknown} |
Definition at line 121 of file httprequest.h.
Referenced by ParseRequest(), and SetContentType().
QString HTTPRequest::m_sRawRequest |
Definition at line 123 of file httprequest.h.
Referenced by UPnp::FormatRedirectResponse(), UPNPSubscription::ProcessRequest(), InternetContent::ProcessRequest(), MythFEXML::ProcessRequest(), ServiceHost::ProcessRequest(), and ProcessRequestLine().
QString HTTPRequest::m_sOriginalUrl |
Definition at line 125 of file httprequest.h.
Referenced by DigestAuthentication(), and ProcessRequestLine().
QString HTTPRequest::m_sRequestUrl |
Definition at line 126 of file httprequest.h.
Referenced by ServiceHost::ProcessRequest(), and ProcessRequestLine().
QString HTTPRequest::m_sBaseUrl |
Definition at line 127 of file httprequest.h.
Referenced by HttpServer::DelegateRequest(), ExtractMethodFromURL(), HttpServer::GetSocketTimeout(), Wsdl::GetWSDL(), UPnpCDS::HandleBrowse(), UPnpCDS::HandleGetFeatureList(), UPnpCDS::HandleGetSearchCapabilities(), UPnpCDS::HandleGetServiceResetToken(), UPnpCDS::HandleGetSortCapabilities(), UPnpCDS::HandleGetSystemUpdateID(), UPnpCDS::HandleSearch(), ParseRequest(), UPNPSubscription::ProcessRequest(), HttpConfig::ProcessRequest(), InternetContent::ProcessRequest(), HtmlServerExtension::ProcessRequest(), MythFEXML::ProcessRequest(), UPnpMSRR::ProcessRequest(), ServiceHost::ProcessRequest(), UPnpCMGR::ProcessRequest(), HttpStatus::ProcessRequest(), SSDPExtension::ProcessRequest(), Eventing::ProcessRequest(), UPnpCDS::ProcessRequest(), and ProcessRequestLine().
QString HTTPRequest::m_sResourceUrl |
Definition at line 128 of file httprequest.h.
Referenced by HtmlServerExtension::ProcessRequest(), HttpStatus::ProcessRequest(), ProcessRequestLine(), Xsd::RenderArrayXSD(), Xsd::RenderMapXSD(), and Xsd::RenderXSD().
QString HTTPRequest::m_sMethod |
Definition at line 129 of file httprequest.h.
Referenced by ExtractMethodFromURL(), FormatActionResponse(), GetSerializer(), UPnpCDS::HandleBrowse(), UPnpCDS::HandleGetFeatureList(), UPnpCDS::HandleGetSearchCapabilities(), UPnpCDS::HandleGetServiceResetToken(), UPnpCDS::HandleGetSortCapabilities(), UPnpCDS::HandleGetSystemUpdateID(), UPnpCDS::HandleSearch(), ParseRequest(), UPNPSubscription::ProcessRequest(), HttpConfig::ProcessRequest(), InternetContent::ProcessRequest(), MythFEXML::ProcessRequest(), UPnpMSRR::ProcessRequest(), ServiceHost::ProcessRequest(), UPnpCMGR::ProcessRequest(), HttpStatus::ProcessRequest(), SSDPExtension::ProcessRequest(), Eventing::ProcessRequest(), UPnpCDS::ProcessRequest(), and ProcessSOAPPayload().
QStringMap HTTPRequest::m_mapParams |
Definition at line 131 of file httprequest.h.
Referenced by ServerSideScripting::EvaluatePage(), Xsd::GetEnumXSD(), InternetContent::GetInternetContent(), InternetContent::GetInternetSearch(), MythFEXML::GetScreenShot(), Wsdl::GetWSDL(), Xsd::GetXSD(), UPnpCDS::HandleBrowse(), UPnpCMGR::HandleGetCurrentConnectionInfo(), UPnpCDS::HandleSearch(), ParseRequest(), UPNPSubscription::ProcessRequest(), HttpConfig::ProcessRequest(), ServiceHost::ProcessRequest(), ProcessRequestLine(), ProcessSOAPPayload(), and Xsd::RenderMapXSD().
QStringMultiMap HTTPRequest::m_mapHeaders |
Definition at line 132 of file httprequest.h.
Referenced by BuildResponseHeader(), ServerSideScripting::EvaluatePage(), GetLastHeader(), GetRequestHeader(), ParseCookies(), ParseRequest(), and SendResponse().
QStringMap HTTPRequest::m_mapCookies |
Definition at line 133 of file httprequest.h.
Referenced by ServerSideScripting::EvaluatePage(), ParseCookies(), and ParseRequest().
QString HTTPRequest::m_sPayload |
Definition at line 135 of file httprequest.h.
Referenced by ParseRequest(), UPNPSubscription::ProcessRequest(), and ProcessSOAPPayload().
QString HTTPRequest::m_sProtocol |
Definition at line 137 of file httprequest.h.
Referenced by GetRequestProtocol(), and SetRequestProtocol().
int HTTPRequest::m_nMajor {0} |
Definition at line 138 of file httprequest.h.
Referenced by BasicAuthentication(), GetAuthenticationHeader(), GetRequestProtocol(), ParseKeepAlive(), ParseRequest(), and SetRequestProtocol().
int HTTPRequest::m_nMinor {0} |
Definition at line 139 of file httprequest.h.
Referenced by BasicAuthentication(), GetAuthenticationHeader(), GetRequestProtocol(), ParseKeepAlive(), ParseRequest(), and SetRequestProtocol().
Definition at line 141 of file httprequest.h.
Referenced by ParseRequest().
Definition at line 142 of file httprequest.h.
Referenced by HttpWorker::run().
Definition at line 144 of file httprequest.h.
Referenced by FormatActionResponse(), UPnp::FormatErrorResponse(), FormatErrorResponse(), GetSerializer(), and ProcessSOAPPayload().
QString HTTPRequest::m_sNameSpace |
Definition at line 145 of file httprequest.h.
Referenced by FormatActionResponse(), GetSerializer(), and ProcessSOAPPayload().
HttpResponseType HTTPRequest::m_eResponseType {ResponseTypeUnknown} |
Definition at line 149 of file httprequest.h.
Referenced by BuildResponseHeader(), HttpServer::DelegateRequest(), FormatActionResponse(), FormatErrorResponse(), FormatFileResponse(), FormatRawResponse(), UPnp::FormatRedirectResponse(), MythFEXML::GetActionListTest(), SSDPExtension::GetDeviceDesc(), SSDPExtension::GetDeviceList(), Xsd::GetEnumXSD(), SSDPExtension::GetFile(), InternetContent::GetInternetContent(), InternetContent::GetInternetSearch(), InternetContent::GetInternetSources(), MythFEXML::GetRemote(), GetResponseType(), MythFEXML::GetScreenShot(), HttpStatus::GetStatusHTML(), HttpStatus::GetStatusXML(), Wsdl::GetWSDL(), Eventing::HandleSubscribe(), Eventing::HandleUnsubscribe(), ParseRequest(), HttpServerExtension::ProcessOptions(), UPNPSubscription::ProcessRequest(), HttpConfig::ProcessRequest(), HtmlServerExtension::ProcessRequest(), HttpStatus::ProcessRequest(), Xsd::RenderArrayXSD(), Xsd::RenderMapXSD(), Xsd::RenderXSD(), SendResponse(), and SendResponseFile().
QString HTTPRequest::m_sResponseTypeText |
Definition at line 150 of file httprequest.h.
Referenced by BuildResponseHeader(), FormatActionResponse(), HttpConfig::ProcessRequest(), and SendResponseFile().
long HTTPRequest::m_nResponseStatus {200} |
Definition at line 152 of file httprequest.h.
Referenced by HttpServer::DelegateRequest(), DigestAuthentication(), FormatActionResponse(), FormatErrorResponse(), FormatFileResponse(), FormatRawResponse(), UPnp::FormatRedirectResponse(), SSDPExtension::GetDeviceList(), SSDPExtension::GetFile(), InternetContent::GetInternetContent(), GetResponsePage(), GetResponseStatus(), Eventing::HandleSubscribe(), Eventing::HandleUnsubscribe(), ParseRequest(), HttpServerExtension::ProcessOptions(), UPNPSubscription::ProcessRequest(), HtmlServerExtension::ProcessRequest(), HttpStatus::ProcessRequest(), ProcessRequestLine(), HttpWorker::run(), SendResponse(), and SendResponseFile().
QStringMap HTTPRequest::m_mapRespHeaders |
Definition at line 153 of file httprequest.h.
Referenced by BuildResponseHeader(), FormatActionResponse(), FormatErrorResponse(), UPnp::FormatRedirectResponse(), MythFEXML::GetActionListTest(), SSDPExtension::GetFile(), MythFEXML::GetRemote(), GetResponseHeaders(), HttpStatus::GetStatusHTML(), HttpStatus::GetStatusXML(), Eventing::HandleSubscribe(), HttpConfig::ProcessRequest(), SendResponse(), SendResponseFile(), and SetResponseHeader().
QString HTTPRequest::m_sFileName |
Definition at line 155 of file httprequest.h.
Referenced by BuildResponseHeader(), FormatFileResponse(), SSDPExtension::GetFile(), InternetContent::GetInternetContent(), MythFEXML::GetScreenShot(), and SendResponse().
QBuffer HTTPRequest::m_response |
Definition at line 157 of file httprequest.h.
Referenced by HttpServer::DelegateRequest(), FormatActionResponse(), FormatErrorResponse(), FormatFileResponse(), FormatRawResponse(), MythFEXML::GetActionListTest(), SSDPExtension::GetDeviceDesc(), Xsd::GetEnumXSD(), SSDPExtension::GetFile(), MythFEXML::GetRemote(), GetSerializer(), HttpStatus::GetStatusHTML(), HttpStatus::GetStatusXML(), Wsdl::GetWSDL(), ParseRequest(), HttpConfig::ProcessRequest(), HtmlServerExtension::ProcessRequest(), Xsd::RenderArrayXSD(), Xsd::RenderMapXSD(), Xsd::RenderXSD(), HttpWorker::run(), SendResponse(), and SendResponseFile().
IPostProcess* HTTPRequest::m_pPostProcess {nullptr} |
Definition at line 159 of file httprequest.h.
Referenced by Eventing::HandleSubscribe(), and HttpWorker::run().
QString HTTPRequest::m_sPrivateToken |
Definition at line 161 of file httprequest.h.
Referenced by CalculateDigestNonce().
MythUserSession HTTPRequest::m_userSession |
Definition at line 162 of file httprequest.h.
Referenced by Authenticated(), BasicAuthentication(), DigestAuthentication(), ServerSideScripting::EvaluatePage(), and ParseRequest().
Definition at line 166 of file httprequest.h.
Referenced by BuildResponseHeader(), and ParseRequest().
|
private |
Definition at line 167 of file httprequest.h.
Referenced by BuildResponseHeader().