Wexus2 0.20
wexus::HTTPHandler Class Reference

#include <HTTP.h>

Inheritance diagram for wexus::HTTPHandler:

List of all members.

Classes

class  Exception

Public Member Functions

virtual ~HTTPHandler ()
 destructor
virtual void handleRequest (wexus::HTTPRequest &req, wexus::HTTPReply &reply)=0

Detailed Description

A wexus::HTTPHandler handles events from a wexus::HTTPServer.

Author:
Aleksander Demko

Member Function Documentation

virtual void wexus::HTTPHandler::handleRequest ( wexus::HTTPRequest req,
wexus::HTTPReply reply 
) [pure virtual]

This is called when a request is to be processed.

Parameters:
reqthe request
Returns:
true if this consumer has processed this even and no further consumers should receive this event. false if this consumer does not want to process this event.
Author:
Aleksander Demko

Implemented in wexus::FileHTTPHandler, wexus::ErrorHTTPHandler, and wexus::HTTPHandlerStack.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Enumerator