|
Torc
0.1
|
Handles the provision of static server content such as html, css, js etc. More...
#include <torchtmlstaticcontent.h>
Public Member Functions | |
| TorcHTMLStaticContent () | |
| void | ProcessHTTPRequest (const QString &PeerAddress, int PeerPort, const QString &LocalAddress, int LocalPort, TorcHTTPRequest &Request) override |
Public Member Functions inherited from TorcHTTPHandler | |
| TorcHTTPHandler (const QString &Signature, const QString &Name) | |
| virtual | ~TorcHTTPHandler () |
| QString | Signature (void) const |
| bool | GetRecursive (void) const |
| QString | Name (void) const |
| virtual QVariantMap | ProcessRequest (const QString &Method, const QVariant &Parameters, QObject *Connection, bool Authenticated) |
Static Protected Member Functions | |
| static void | GetJavascriptConfiguration (TorcHTTPRequest &Request) |
| Construct a Javascript object that encapsulates Torc variables, enumerations and translated strings. More... | |
Static Protected Member Functions inherited from TorcHTTPHandler | |
| static bool | MethodIsAuthorised (TorcHTTPRequest &Request, int Allowed) |
| Check the current request is authorised and set the authentication header if not. More... | |
| static void | HandleOptions (TorcHTTPRequest &Request, int Allowed) |
| static void | HandleFile (TorcHTTPRequest &Request, const QString &Filename, int Cache) |
Additional Inherited Members | |
Protected Attributes inherited from TorcHTTPHandler | |
| QString | m_signature |
| bool | m_recursive |
| QString | m_name |
Handles the provision of static server content such as html, css, js etc.
Definition at line 9 of file torchtmlstaticcontent.h.
| TorcHTMLStaticContent::TorcHTMLStaticContent | ( | ) |
Definition at line 38 of file torchtmlstaticcontent.cpp.
|
staticprotected |
Construct a Javascript object that encapsulates Torc variables, enumerations and translated strings.
The contents of this object are available as 'torcconfiguration.js' and it must be regenerated/requested following a language change.
Definition at line 85 of file torchtmlstaticcontent.cpp.
|
overridevirtual |
Implements TorcHTTPHandler.
Definition at line 50 of file torchtmlstaticcontent.cpp.
1.8.11