BrisaCore::BrisaWebServiceProvider Class Reference

The BrisaWebServiceProvider class works as web service manager for the web server. More...

#include <brisawebserviceprovider.h>

List of all members.

Public Member Functions

 BrisaWebServiceProvider (QxtAbstractWebSessionManager *sm, QObject *parent)
 ~BrisaWebServiceProvider ()
void addFile (const QString path, QString filePath)
void addContent (const QString path, QString content)
void pageRequestedEvent (QxtWebRequestEvent *event)

Protected Member Functions

void indexRequested (QxtWebRequestEvent *event)

Detailed Description

The BrisaWebServiceProvider class works as web service manager for the web server.

The BrisaWebServiceProvider has convenience methods for managing web services, like addFile() and addContent(). It also keeps track of all files and content stored into the web service.

Definition at line 50 of file brisawebserviceprovider.h.


Constructor & Destructor Documentation

BrisaWebServiceProvider::BrisaWebServiceProvider ( QxtAbstractWebSessionManager *  sm,
QObject *  parent 
)

Constructor for BrisaWebServiceProvider

Parameters:
sm empty
parent empty

Definition at line 38 of file brisawebserviceprovider.cpp.

BrisaWebServiceProvider::~BrisaWebServiceProvider (  ) 

Destructor for BrisaWebServiceProvider.

Definition at line 46 of file brisawebserviceprovider.cpp.


Member Function Documentation

void BrisaWebServiceProvider::addContent ( const QString  path,
QString  content 
)

Call this method to add a BrisaWebStaticContent to the web service.

Parameters:
path empty
content empty

Definition at line 60 of file brisawebserviceprovider.cpp.

void BrisaWebServiceProvider::addFile ( const QString  path,
QString  filePath 
)

Call this method to add a BrisaWebFile to the web service.

Parameters:
path empty
filePath empty

Definition at line 53 of file brisawebserviceprovider.cpp.

void BrisaWebServiceProvider::indexRequested ( QxtWebRequestEvent *  event  )  [protected]

Reimplemented from libQxt. This method calls the BrisaWebStaticContent index() method.

Parameters:
event empty

Definition at line 68 of file brisawebserviceprovider.cpp.

void BrisaWebServiceProvider::pageRequestedEvent ( QxtWebRequestEvent *  event  ) 

Reimplemented from libQxt.

Definition at line 74 of file brisawebserviceprovider.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 30 14:04:30 2010 for Brisa by  doxygen 1.6.3