Apache Mesos
Public Member Functions | List of all members
process::http::Headers Class Reference

#include <http.hpp>

Inheritance diagram for process::http::Headers:
hashmap< std::string, std::string, CaseInsensitiveHash, CaseInsensitiveEqual >

Public Member Functions

 Headers ()
 
 Headers (const std::map< std::string, std::string > &map)
 
 Headers (std::map< std::string, std::string > &&map)
 
 Headers (std::initializer_list< std::pair< std::string, std::string >> list)
 
template<typename T >
Result< T > get () const
 
Option< std::string > get (const std::string &key) const
 
Headers operator+ (const Headers &that) const
 
- Public Member Functions inherited from hashmap< std::string, std::string, CaseInsensitiveHash, CaseInsensitiveEqual >
 hashmap ()
 
 hashmap (const std::map< std::string, std::string > &map)
 
 hashmap (std::map< std::string, std::string > &&map)
 
 hashmap (std::initializer_list< std::pair< std::string, std::string >> list)
 
bool contains (const std::string &key) const
 
bool contains_value (const std::string &v) const
 
void put (const std::string &key, std::string &&value)
 
void put (const std::string &key, const std::string &value)
 
Option< std::string > get (const std::string &key) const
 
hashset< std::string > keys () const
 
std::vector< std::string > values () const
 

Constructor & Destructor Documentation

process::http::Headers::Headers ( )
inline
process::http::Headers::Headers ( const std::map< std::string, std::string > &  map)
inline
process::http::Headers::Headers ( std::map< std::string, std::string > &&  map)
inline
process::http::Headers::Headers ( std::initializer_list< std::pair< std::string, std::string >>  list)
inline

Member Function Documentation

template<typename T >
Result<T> process::http::Headers::get ( ) const
inline
Option<std::string> process::http::Headers::get ( const std::string &  key) const
inline
Headers process::http::Headers::operator+ ( const Headers that) const
inline

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