CL_HTTPRequestHandler Class Reference
[clanNetwork Web]

HTTP request handler class. More...

#include <http_request_handler.h>

List of all members.

Public Member Functions

Construction

 CL_HTTPRequestHandler ()
 Constructs a null instance.
 CL_HTTPRequestHandler (CL_HTTPRequestHandlerProvider *provider)
 Constructs a HTTPRequestHandler.
 ~CL_HTTPRequestHandler ()
Attributes

bool is_null () const
 Returns true if this object is invalid.
void throw_if_null () const
 Throw an exception if this object is invalid.
CL_HTTPRequestHandlerProviderget_provider () const
 Get Provider.
Operations

bool is_handling_request (const CL_StringRef8 &type, const CL_StringRef8 &url, const CL_StringRef8 &headers)
void handle_request (CL_HTTPServerConnection &connection)
 Handle request.

Detailed Description

HTTP request handler class.


Constructor & Destructor Documentation

CL_HTTPRequestHandler::CL_HTTPRequestHandler (  ) 

Constructs a null instance.

CL_HTTPRequestHandler::CL_HTTPRequestHandler ( CL_HTTPRequestHandlerProvider provider  ) 

Constructs a HTTPRequestHandler.

Parameters:
provider = HTTPRequest Handler Provider
CL_HTTPRequestHandler::~CL_HTTPRequestHandler (  ) 

Member Function Documentation

CL_HTTPRequestHandlerProvider* CL_HTTPRequestHandler::get_provider (  )  const

Get Provider.

Returns:
provider
void CL_HTTPRequestHandler::handle_request ( CL_HTTPServerConnection connection  ) 

Handle request.

Parameters:
connection = HTTPServer Connection
bool CL_HTTPRequestHandler::is_handling_request ( const CL_StringRef8 type,
const CL_StringRef8 url,
const CL_StringRef8 headers 
)
bool CL_HTTPRequestHandler::is_null (  )  const [inline]

Returns true if this object is invalid.

void CL_HTTPRequestHandler::throw_if_null (  )  const

Throw an exception if this object is invalid.


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