HttpSession Class Reference

#include <httpsession.h>

Inheritance diagram for HttpSession:

List of all members.

Public Member Functions

 HttpSession (int socketDescriptor, QObject *parent=0)
virtual ~HttpSession ()
void run ()
virtual int isRequestSupported (const HttpRequest &request) const

Protected Member Functions

virtual bool hasEntityBody (const HttpRequest &request)=0 throw (HttpResponse)
virtual bool atEnd (const HttpRequest &request, const QByteArray &buffer)=0 throw (HttpResponse)
virtual void onRequest (const HttpRequest &request)=0
void writeResponse (HttpResponse)

Protected Attributes

HttpVersion lastSupportedHttpVersion

Detailed Description

Definition at line 37 of file httpsession.h.

Constructor & Destructor Documentation

HttpSession::HttpSession ( int  socketDescriptor,
QObject *  parent = 0 
) [explicit]

Definition at line 47 of file httpsession.cpp.

HttpSession::~HttpSession (  )  [virtual]

Definition at line 56 of file httpsession.cpp.

Member Function Documentation

virtual bool HttpSession::atEnd ( const HttpRequest request,
const QByteArray &  buffer 
) throw (HttpResponse) [protected, pure virtual]

Implemented in WebServerSession.

virtual bool HttpSession::hasEntityBody ( const HttpRequest request  )  throw (HttpResponse) [protected, pure virtual]

Implemented in WebServerSession.

int HttpSession::isRequestSupported ( const HttpRequest request  )  const [virtual]

Reimplemented in WebServerSession.

Definition at line 72 of file httpsession.cpp.

virtual void HttpSession::onRequest ( const HttpRequest request  )  [protected, pure virtual]

Implemented in WebServerSession.

void HttpSession::run (  ) 

Definition at line 61 of file httpsession.cpp.

void HttpSession::writeResponse ( HttpResponse  r  )  [protected]

Definition at line 81 of file httpsession.cpp.

Member Data Documentation

Definition at line 57 of file httpsession.h.

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