mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-14 17:00:52 +08:00
19 lines
524 B
C++
19 lines
524 B
C++
#pragma once
|
|
|
|
class http_servlet : public acl::HttpServlet
|
|
{
|
|
public:
|
|
http_servlet(acl::socket_stream* stream, acl::session* session);
|
|
~http_servlet();
|
|
|
|
protected:
|
|
virtual bool doError(acl::HttpServletRequest&,
|
|
acl::HttpServletResponse& res);
|
|
virtual bool doUnknown(acl::HttpServletRequest&,
|
|
acl::HttpServletResponse& res);
|
|
virtual bool doGet(acl::HttpServletRequest& req,
|
|
acl::HttpServletResponse& res);
|
|
virtual bool doPost(acl::HttpServletRequest& req,
|
|
acl::HttpServletResponse& res);
|
|
};
|