Apache Mesos
Public Member Functions | Static Public Member Functions | List of all members
process::HttpResponseEncoder Class Reference

#include <encoder.hpp>

Inheritance diagram for process::HttpResponseEncoder:
process::DataEncoder process::Encoder

Public Member Functions

 HttpResponseEncoder (const http::Response &response, const http::Request &request)
 
- Public Member Functions inherited from process::DataEncoder
 DataEncoder (const std::string &_data)
 
 DataEncoder (std::string &&_data)
 
 ~DataEncoder () override
 
Kind kind () const override
 
virtual const char * next (size_t *length)
 
void backup (size_t length) override
 
size_t remaining () const override
 
- Public Member Functions inherited from process::Encoder
 Encoder ()=default
 
virtual ~Encoder ()
 

Static Public Member Functions

static std::string encode (const http::Response &response, const http::Request &request)
 

Additional Inherited Members

- Public Types inherited from process::Encoder
enum  Kind { DATA, FILE }
 

Constructor & Destructor Documentation

process::HttpResponseEncoder::HttpResponseEncoder ( const http::Response response,
const http::Request request 
)
inline

Member Function Documentation

static std::string process::HttpResponseEncoder::encode ( const http::Response response,
const http::Request request 
)
inlinestatic

The documentation for this class was generated from the following file: