#include <Pt/Http/Service.h>
HTTP service.
Inherits NonCopyable.
Inherited by BasicService< R, Alloc >, HttpService, and HttpService.
Public Member Functions | |
Service () | |
Default Constructor. | |
virtual | ~Service () |
Destructor. | |
Responder * | getResponder (const Request &) |
Creates a responder to handle request received by a server. | |
void | releaseResponder (Responder *) |
Destroys a responder created by a server. | |
Protected Member Functions | |
virtual Responder * | onGetResponder (const Request &)=0 |
Creates a responder to handle request received by a server. | |
virtual void | onReleaseResponder (Responder *)=0 |
Destroys a responder created by a server. | |