/* */ #ifndef _D_HTTP_HEADER_H_ #define _D_HTTP_HEADER_H_ #include "common.h" #include "SharedHandle.h" #include #include #include namespace aria2 { class Range; class HttpHeader { private: std::multimap table; public: HttpHeader() {} ~HttpHeader() {} void put(const std::string& name, const std::string& value); bool defined(const std::string& name) const; std::string getFirst(const std::string& name) const; std::deque get(const std::string& name) const; unsigned int getFirstAsUInt(const std::string& name) const; uint64_t getFirstAsULLInt(const std::string& name) const; SharedHandle getRange() const; }; typedef SharedHandle HttpHeaderHandle; } // namespace std; #endif // _D_HTTP_HEADER_H_