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)
 
virtual ~DataEncoder ()
 
virtual Kind kind () const
 
virtual const char * next (size_t *length)
 
virtual void backup (size_t length)
 
virtual size_t remaining () const
 
- 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: