Kea 2.7.6
|
Encapsulates the boolean value indicating if the HttpResponse constructor should call its setGenericBody
method during construction.
More...
#include <response.h>
Public Member Functions | |
CallSetGenericBody (const bool set) | |
Constructor. | |
Static Public Member Functions | |
static const CallSetGenericBody & | no () |
Returns encapsulated false. | |
static const CallSetGenericBody & | yes () |
Returns encapsulated true. | |
Public Attributes | |
bool | set_ |
A storage for the boolean flag. | |
Encapsulates the boolean value indicating if the HttpResponse constructor should call its setGenericBody
method during construction.
Definition at line 52 of file response.h.
|
inlineexplicit |
Constructor.
set | A boolean value indicating if the method should be called or not. |
Definition at line 58 of file response.h.
|
inlinestatic |
Returns encapsulated false.
Definition at line 69 of file response.h.
References no().
Referenced by no().
|
inlinestatic |
Returns encapsulated true.
Definition at line 63 of file response.h.
References yes().
Referenced by yes().
bool isc::http::CallSetGenericBody::set_ |
A storage for the boolean flag.
Definition at line 75 of file response.h.
Referenced by isc::http::HttpResponse::HttpResponse(), and isc::http::HttpResponseJson::HttpResponseJson().