data::ConstElementPtr json_
Pointer to the parsed JSON body.
Represents HTTP POST request.
Represents HTTP POST request with JSON body.
void setBodyAsJson(const data::ConstElementPtr &body)
Sets JSON body for an outbound message.
void parseBodyAsJson()
Interprets body as JSON, which can be later retrieved using data element objects.
data::ConstElementPtr getJsonElement(const std::string &element_name) const
Retrieves a single JSON element.
virtual void finalize()
Complete parsing of the HTTP request.
data::ConstElementPtr getBodyAsJson() const
Retrieves JSON body.
PostHttpRequestJson()
Constructor for inbound HTTP request.
virtual void reset()
Reset the state of the object.