Public Member Functions | |
CHTTPHeaders () | |
CHTTPHeaders (const CHTTPHeaders &rhs) | |
CHTTPHeaders (const JetByteTools::Core::CSystemTime &date) | |
CHTTPHeaders & | operator= (const CHTTPHeaders &rhs) |
size_t | NumHeaders () const |
void | Add (const std::string &header) |
void | Add (const std::string &key, const std::string &value) |
void | Add (const CHTTPHeaders &headers) |
void | Reset () |
bool | GetRawHeader (size_t &index, std::string &header) const |
bool | Contains (const std::string &header) const |
bool | ContainsValue (const std::string &header, const std::string &value) const |
bool | ContainsCaseInsensitiveValue (const std::string &header, const std::string &value) const |
bool | ValueContainsCaseInsensitiveToken (const std::string &header, const std::string &token) const |
std::string | GetValue (const std::string &header) const |
bool | ValueIs (const std::string &header, const std::string &caseInsensitiveValue) const |
std::string | GetAsHeaders () const |
std::string | Dump () const |
CHTTPHeaders | ( | ) |
CHTTPHeaders | ( | const CHTTPHeaders & | rhs | ) |
CHTTPHeaders | ( | const JetByteTools::Core::CSystemTime & | date | ) | [explicit] |
CHTTPHeaders& operator= | ( | const CHTTPHeaders & | rhs | ) |
size_t NumHeaders | ( | ) | const |
void Add | ( | const std::string & | header | ) |
void Add | ( | const std::string & | key, | |
const std::string & | value | |||
) |
void Add | ( | const CHTTPHeaders & | headers | ) |
void Reset | ( | ) |
bool GetRawHeader | ( | size_t & | index, | |
std::string & | header | |||
) | const |
bool Contains | ( | const std::string & | header | ) | const |
bool ContainsValue | ( | const std::string & | header, | |
const std::string & | value | |||
) | const |
bool ContainsCaseInsensitiveValue | ( | const std::string & | header, | |
const std::string & | value | |||
) | const |
bool ValueContainsCaseInsensitiveToken | ( | const std::string & | header, | |
const std::string & | token | |||
) | const |
string GetValue | ( | const std::string & | header | ) | const |
bool ValueIs | ( | const std::string & | header, | |
const std::string & | caseInsensitiveValue | |||
) | const |
string GetAsHeaders | ( | ) | const |
string Dump | ( | ) | const |