#include <ulxr_http_server.h>
Collaboration diagram for ulxr::MethodHandler:

Public Member Functions | |
| MethodHandler (hidden::StaticMethodHandler handler) | |
| Handler is a function or static method. | |
| MethodHandler (hidden::DynamicMethodHandler handler) | |
| Handler is a class method. | |
| virtual | ~MethodHandler () |
| Destroys the handler. | |
| bool | handle (HttpProtocol *prot, const CppString &method, const CppString &resource, const Cpp8BitString &conn_data) |
| Call the actual handler function. | |
Private Member Functions | |
| const MethodHandler & | operator= (const MethodHandler &) |
| MethodHandler (const MethodHandler &) | |
Private Attributes | |
| hidden::StaticMethodHandler | static_handler |
| hidden::DynamicMethodHandler | dynamic_handler |
Definition at line 501 of file ulxr_http_server.h.
| ulxr::MethodHandler::MethodHandler | ( | hidden::StaticMethodHandler | handler | ) |
Handler is a function or static method.
| handler | function adress |
Definition at line 1342 of file ulxr_http_server.cpp.
| ulxr::MethodHandler::MethodHandler | ( | hidden::DynamicMethodHandler | handler | ) |
Handler is a class method.
| handler | method wrapper |
Definition at line 1349 of file ulxr_http_server.cpp.
| ulxr::MethodHandler::~MethodHandler | ( | ) | [virtual] |
Destroys the handler.
Definition at line 1356 of file ulxr_http_server.cpp.
References dynamic_handler.
| ulxr::MethodHandler::MethodHandler | ( | const MethodHandler & | ) | [private] |
| bool ulxr::MethodHandler::handle | ( | HttpProtocol * | prot, | |
| const CppString & | method, | |||
| const CppString & | resource, | |||
| const Cpp8BitString & | conn_data | |||
| ) |
Call the actual handler function.
| prot | pointer to the according server | |
| method | the method in use | |
| resource | name of the resource | |
| conn_data | already received chunk of the message body. Needed for the methods PUT or POST |
Definition at line 1362 of file ulxr_http_server.cpp.
References ULXR_PCHAR, and ULXR_TRACE.
| const MethodHandler& ulxr::MethodHandler::operator= | ( | const MethodHandler & | ) | [private] |
Definition at line 533 of file ulxr_http_server.h.
1.5.1