|
ClanLib
2.3.7
|
HTTP request handler class. More...
#include <http_request_handler.h>
Public Member Functions | |
Construction | |
| CL_HTTPRequestHandler () | |
| Constructs a null instance. More... | |
| CL_HTTPRequestHandler (CL_HTTPRequestHandlerProvider *provider) | |
| Constructs a HTTPRequestHandler. More... | |
| ~CL_HTTPRequestHandler () | |
Attributes | |
| bool | is_null () const |
| Returns true if this object is invalid. More... | |
| void | throw_if_null () const |
| Throw an exception if this object is invalid. More... | |
| CL_HTTPRequestHandlerProvider * | get_provider () const |
| Get Provider. More... | |
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. More... | |
HTTP request handler class.
| CL_HTTPRequestHandler::CL_HTTPRequestHandler | ( | ) |
Constructs a null instance.
| CL_HTTPRequestHandler::CL_HTTPRequestHandler | ( | CL_HTTPRequestHandlerProvider * | provider) |
Constructs a HTTPRequestHandler.
| provider | = HTTPRequest Handler Provider |
| CL_HTTPRequestHandler::~CL_HTTPRequestHandler | ( | ) |
| CL_HTTPRequestHandlerProvider* CL_HTTPRequestHandler::get_provider | ( | ) | const |
Get Provider.
| void CL_HTTPRequestHandler::handle_request | ( | CL_HTTPServerConnection & | connection) |
Handle request.
| connection | = HTTPServer Connection |
| bool CL_HTTPRequestHandler::is_handling_request | ( | const CL_StringRef8 & | type, |
| const CL_StringRef8 & | url, | ||
| const CL_StringRef8 & | headers | ||
| ) |
|
inline |
Returns true if this object is invalid.
| void CL_HTTPRequestHandler::throw_if_null | ( | ) | const |
Throw an exception if this object is invalid.
1.8.4