7 #ifndef HTTP_RESPONSE_CREATOR_H
8 #define HTTP_RESPONSE_CREATOR_H
12 #include <boost/shared_ptr.hpp>
virtual HttpRequestPtr createNewHttpRequest() const =0
Create a new request.
virtual HttpResponsePtr createStockHttpResponse(const HttpRequestPtr &request, const HttpStatusCode &status_code) const =0
Creates implementation specific HTTP response.
Specifies an interface for classes creating HTTP responses from HTTP requests.
boost::shared_ptr< HttpResponse > HttpResponsePtr
Pointer to the HttpResponse object.
boost::shared_ptr< HttpResponseCreator > HttpResponseCreatorPtr
Pointer to the HttpResponseCreator object.
Defines the logger used by the top-level component of kea-dhcp-ddns.
virtual ~HttpResponseCreator()
Destructor.
virtual HttpResponsePtr createDynamicHttpResponse(HttpRequestPtr request)=0
Creates implementation specific HTTP response.
virtual HttpResponsePtr createHttpResponse(HttpRequestPtr request) final
Create HTTP response from HTTP request received.
boost::shared_ptr< HttpRequest > HttpRequestPtr
Pointer to the HttpRequest object.
HttpStatusCode
HTTP status codes (cf RFC 2068)