7 #ifndef CTRL_AGENT_RESPONSE_CREATOR_H 8 #define CTRL_AGENT_RESPONSE_CREATOR_H 12 #include <boost/shared_ptr.hpp> Specifies an interface for classes creating HTTP responses from HTTP requests.
boost::shared_ptr< HttpResponse > HttpResponsePtr
Pointer to the HttpResponse object.
Defines the logger used by the top-level component of kea-lfc.
Concrete implementation of the HTTP response creator used by the Control Agent.
boost::shared_ptr< HttpRequest > HttpRequestPtr
Pointer to the HttpRequest object.
boost::shared_ptr< CtrlAgentResponseCreator > CtrlAgentResponseCreatorPtr
Pointer to the CtrlAgentResponseCreator.
virtual http::HttpRequestPtr createNewHttpRequest() const
Create a new request.
HttpStatusCode
HTTP status codes (cf RFC 2068)
virtual http::HttpResponsePtr createStockHttpResponse(const http::HttpRequestPtr &request, const http::HttpStatusCode &status_code) const
Creates stock HTTP response.