Apache Mesos
Public Member Functions | List of all members
process::http::MethodNotAllowed Struct Reference

#include <http.hpp>

Inheritance diagram for process::http::MethodNotAllowed:
process::http::Response

Public Member Functions

 MethodNotAllowed (const std::initializer_list< std::string > &allowedMethods, const Option< std::string > &requestMethod=None())
 
- Public Member Functions inherited from process::http::Response
 Response ()
 
 Response (uint16_t _code)
 
 Response (std::string _body, uint16_t _code, const std::string &contentType="text/plain; charset=utf-8")
 

Additional Inherited Members

- Public Types inherited from process::http::Response
enum  { NONE, BODY, PATH, PIPE }
 
- Public Attributes inherited from process::http::Response
std::string status
 
Headers headers
 
enum process::http::Response:: { ... }  type
 
std::string body
 
std::string path
 
Option< Pipe::Readerreader
 
uint16_t code
 

Constructor & Destructor Documentation

process::http::MethodNotAllowed::MethodNotAllowed ( const std::initializer_list< std::string > &  allowedMethods,
const Option< std::string > &  requestMethod = None() 
)
inline

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