| 43 | } |
| 44 | |
| 45 | bool http_servlet::doGet(request_t& req, response_t& res) |
| 46 | { |
| 47 | const char* path = req.getPathInfo(); |
| 48 | handler_t handler = path && *path ? handlers_[path] : NULL; |
| 49 | return handler ? (this->*handler)(req, res) : transfer_get(req, res); |
| 50 | } |
| 51 | |
| 52 | bool http_servlet::doPost(request_t& req, response_t& res) |
| 53 | { |
nothing calls this directly
no test coverage detected