7#ifndef HTTP_COMMAND_RESPONSE_CREATOR_H
8#define HTTP_COMMAND_RESPONSE_CREATOR_H
12#include <boost/shared_ptr.hpp>
97typedef boost::shared_ptr<HttpCommandResponseCreator>
Concrete implementation of the HTTP response creator used for HTTP control socket.
HttpCommandConfigPtr getHttpCommandConfig() const
Returns HTTP control socket config.
virtual http::HttpRequestPtr createNewHttpRequest() const
Create a new request.
virtual http::HttpResponsePtr createStockHttpResponse(const http::HttpRequestPtr &request, const http::HttpStatusCode &status_code) const
Creates stock HTTP response.
virtual ~HttpCommandResponseCreator()=default
virtual destructor.
HttpCommandResponseCreator(HttpCommandConfigPtr config)
Constructor.
Specifies an interface for classes creating HTTP responses from HTTP requests.
boost::shared_ptr< HttpCommandResponseCreator > HttpCommandResponseCreatorPtr
Pointer to the HttpCommandResponseCreator.
boost::shared_ptr< HttpCommandConfig > HttpCommandConfigPtr
Pointer to a HttpCommandConfig object.
HttpStatusCode
HTTP status codes (cf RFC 2068)
boost::shared_ptr< HttpResponse > HttpResponsePtr
Pointer to the HttpResponse object.
boost::shared_ptr< HttpRequest > HttpRequestPtr
Pointer to the HttpRequest object.
Defines the logger used by the top-level component of kea-lfc.