FlightGear next
|
#include <PkgUriHandler.hxx>
Inherits flightgear::http::URIHandler.
Public Member Functions | |
PkgUriHandler (const std::string &uri="/pkg/") | |
virtual bool | handleRequest (const HTTPRequest &request, HTTPResponse &response, Connection *connection) |
This method gets called from the httpd if a request has been detected on the connection. | |
![]() | |
URIHandler (const std::string &uri) | |
virtual | ~URIHandler () |
virtual bool | handleGetRequest (const HTTPRequest &request, HTTPResponse &response, Connection *connection) |
Convenience method for GET Requests, gets called by handleRequest if not overridden. | |
virtual bool | handlePutRequest (const HTTPRequest &request, HTTPResponse &response, Connection *connection) |
Convenience method for PUT Requests, gets called by handleRequest if not overridden. | |
virtual bool | poll (Connection *connection) |
This method gets called from the httpd if the preceding handleRequest() or poll() method returned false. | |
const std::string & | getUri () const |
Getter for the URI this handler serves. | |
Definition at line 30 of file PkgUriHandler.hxx.
|
inline |
Definition at line 32 of file PkgUriHandler.hxx.
|
virtual |
This method gets called from the httpd if a request has been detected on the connection.
request | The HTTP Request filled in by the httpd |
response | the HTTP Response to be filled in by the hander |
connection | Connection specific information, can be used to store persistent state |
Reimplemented from flightgear::http::URIHandler.
Definition at line 183 of file PkgUriHandler.cxx.