BrisaCore::BrisaWebFile Class Reference

Adds a file to the web server. More...

#include <brisawebfile.h>

List of all members.

Public Member Functions

 BrisaWebFile (QxtAbstractWebSessionManager *sm, QString filePath, QObject *parent=0)
 ~BrisaWebFile ()
void pageRequestedEvent (QxtWebRequestEvent *event)

Detailed Description

Adds a file to the web server.

Use this class to store a file into the web server. If the BrisaWebFile is stored using a BrisaWebServiceProvider, it's url path will be of "IP:PORT/SERVICENAME/yourfile". if it's stored using the BrisaWebServer convenience method "publishFile()", it's url path will be "IP:PORT/yourfile".

Definition at line 76 of file brisawebfile.h.

Constructor & Destructor Documentation

BrisaWebFile::BrisaWebFile ( QxtAbstractWebSessionManager *  sm,
QString  filePath,
QObject *  parent = 0 

Constructor for BrisaWebFile. It creates a QFile with the given file path.

sm empty
filePath empty
parent empty

Definition at line 67 of file brisawebfile.cpp.

BrisaWebFile::~BrisaWebFile (  ) 

Destructor for BrisaWebFile.

Definition at line 75 of file brisawebfile.cpp.

Member Function Documentation

void BrisaWebFile::pageRequestedEvent ( QxtWebRequestEvent *  event  ) 

Reimplemented from libQxt. When a request is received the BrisaWebFile will reply the stored file.

event empty

Definition at line 79 of file brisawebfile.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