ConfigurationWebApp.hpp
Go to the documentation of this file.
1 // @formatter:off
2 //
3 // Balau core C++ library
4 //
5 // Copyright (C) 2008 Bora Software (contact@borasoftware.com)
6 //
7 // Licensed under the Boost Software License - Version 1.0 - August 17th, 2003.
8 // See the LICENSE file for the full license text.
9 //
10 
16 
17 #ifndef COM_BORA_SOFTWARE__BALAU_DOCUMENTATION__CONFIGURATION_WEB_APP
18 #define COM_BORA_SOFTWARE__BALAU_DOCUMENTATION__CONFIGURATION_WEB_APP
19 
21 
23 
30  public: void handleGetRequest(Network::Http::HttpSession & session,
31  const Network::StringRequest & request,
32  std::map<std::string, std::string> & variables) override;
33 
34  public: void handleHeadRequest(Network::Http::HttpSession & session,
35  const Network::StringRequest & request,
36  std::map<std::string, std::string> & variables) override;
37 
38  public: void handlePostRequest(Network::Http::HttpSession & session,
39  const Network::StringRequest & request,
40  std::map<std::string, std::string> & variables) override;
41 };
42 
43 } // namespace Balau::Documentation
44 
45 #endif // COM_BORA_SOFTWARE__BALAU_DOCUMENTATION__CONFIGURATION_WEB_APP
Manages the handling of HTTP messages and WebSocket upgrade requests in an HTTP connection.
Definition: HttpSession.hpp:46
Classes used for providing documentation.
Definition: ConfigurationWebApp.hpp:22
An HTTP web application that merges environment configuration documentation for serving.
Definition: ConfigurationWebApp.hpp:29
void handlePostRequest(Network::Http::HttpSession &session, const Network::StringRequest &request, std::map< std::string, std::string > &variables) override
Handle a POST request.
void handleGetRequest(Network::Http::HttpSession &session, const Network::StringRequest &request, std::map< std::string, std::string > &variables) override
Handle a GET request.
Abstract base class of HTTP web application handlers.
Definition: HttpWebApp.hpp:39
Abstract base class of HTTP web application handlers.
Request< StringBody > StringRequest
A request with a string body.
Definition: NetworkTypes.hpp:267
void handleHeadRequest(Network::Http::HttpSession &session, const Network::StringRequest &request, std::map< std::string, std::string > &variables) override
Handle a HEAD request.