Torc  0.1
Public Member Functions | List of all members
TorcHTMLDynamicContent Class Reference

Handles the provision of dynamic content as typically located in ~/.torc/content. More...

#include <torchtmldynamiccontent.h>

Inheritance diagram for TorcHTMLDynamicContent:
[legend]

Public Member Functions

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

Additional Inherited Members

- 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)
 
- Protected Attributes inherited from TorcHTTPHandler
QString m_signature
 
bool m_recursive
 
QString m_name
 

Detailed Description

Handles the provision of dynamic content as typically located in ~/.torc/content.

Definition at line 7 of file torchtmldynamiccontent.h.

Constructor & Destructor Documentation

TorcHTMLDynamicContent::TorcHTMLDynamicContent ( )

Definition at line 37 of file torchtmldynamiccontent.cpp.

Member Function Documentation

void TorcHTMLDynamicContent::ProcessHTTPRequest ( const QString &  PeerAddress,
int  PeerPort,
const QString &  LocalAddress,
int  LocalPort,
TorcHTTPRequest Request 
)
overridevirtual

Implements TorcHTTPHandler.

Definition at line 55 of file torchtmldynamiccontent.cpp.


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