Stellarium 0.15.2
httprequesthandler.h
Go to the documentation of this file.
1 
6 #ifndef HTTPREQUESTHANDLER_H
7 #define HTTPREQUESTHANDLER_H
8 
9 #include "httpglobal.h"
10 #include "httprequest.h"
11 #include "httpresponse.h"
12 
26 class DECLSPEC HttpRequestHandler : public QObject {
27  Q_OBJECT
28  Q_DISABLE_COPY(HttpRequestHandler)
29 public:
30 
35  HttpRequestHandler(QObject* parent=NULL);
36 
38  virtual ~HttpRequestHandler();
39 
46  virtual void service(HttpRequest& request, HttpResponse& response);
47 
48 };
49 
50 #endif // HTTPREQUESTHANDLER_H
The request handler generates a response for each HTTP request.
This object represents a single HTTP request.
Definition: httprequest.h:36
This object represents a HTTP response, used to return something to the web client.
Definition: httpresponse.h:35