NCBI C++ ToolKit
|
Classes | |
class | CHttpCookie |
CHttpCookie:: More... | |
class | CHttpCookies |
struct | CHttpCookies::SDomainLess |
class | CHttpCookie_CI |
CHttpCookie_CI:: More... | |
class | CHttpCookieException |
CHttpCookieException –. More... | |
Typedefs | |
typedef CHttpCookie_CI | CHttpCookies::const_iterator |
Allow to use cookies with macros like ITERATE. More... | |
typedef list< CHttpCookie > | CHttpCookies::TCookieList |
typedef map< string, TCookieList, SDomainLess > | CHttpCookies::TCookieMap |
typedef CHttpCookies::TCookieList | CHttpCookie_CI::TCookieList |
typedef TCookieList::const_iterator | CHttpCookie_CI::TList_CI |
typedef CHttpCookies::TCookieMap | CHttpCookie_CI::TCookieMap |
typedef TCookieMap::const_iterator | CHttpCookie_CI::TMap_CI |
Enumerations | |
enum | CHttpCookie::ECookieFormat { CHttpCookie::eHTTPResponse , CHttpCookie::eHTTPRequest } |
Whether the cookie is sent as a part of HTTP request or HTTP response. More... | |
enum | CHttpCookie::EFieldType { CHttpCookie::eField_Name , CHttpCookie::eField_Value , CHttpCookie::eField_Domain , CHttpCookie::eField_Path , CHttpCookie::eField_Extension , CHttpCookie::eField_Other } |
Cookie field selector. More... | |
enum | CHttpCookies::ECookieHeader { CHttpCookies::eHeader_Cookie , CHttpCookies::eHeader_SetCookie } |
Cookie header type. More... | |
enum | CHttpCookieException::EErrCode { CHttpCookieException::eValue , CHttpCookieException::eIterator , CHttpCookieException::eOther } |
Friends | |
class | CHttpCookies::CHttpCookie |
class | CHttpCookies::CHttpCookie_CI |
class | CHttpCookie_CI::CHttpCookies |
Allow to use cookies with macros like ITERATE.
Definition at line 292 of file ncbi_cookies.hpp.
typedef list<CHttpCookie> CHttpCookies::TCookieList |
Definition at line 309 of file ncbi_cookies.hpp.
|
private |
Definition at line 370 of file ncbi_cookies.hpp.
typedef map<string, TCookieList, SDomainLess> CHttpCookies::TCookieMap |
Definition at line 310 of file ncbi_cookies.hpp.
|
private |
Definition at line 372 of file ncbi_cookies.hpp.
|
private |
Definition at line 371 of file ncbi_cookies.hpp.
|
private |
Definition at line 373 of file ncbi_cookies.hpp.
Whether the cookie is sent as a part of HTTP request or HTTP response.
Enumerator | |
---|---|
eHTTPResponse | |
eHTTPRequest |
Definition at line 146 of file ncbi_cookies.hpp.
Cookie header type.
Enumerator | |
---|---|
eHeader_Cookie | |
eHeader_SetCookie |
Definition at line 255 of file ncbi_cookies.hpp.
Enumerator | |
---|---|
eValue | |
eIterator | |
eOther |
Definition at line 391 of file ncbi_cookies.hpp.
Cookie field selector.
Enumerator | |
---|---|
eField_Name | |
eField_Value | |
eField_Domain | |
eField_Path | |
eField_Extension | |
eField_Other |
Definition at line 200 of file ncbi_cookies.hpp.
void CHttpCookies::Add | ( | const CHttpCookie & | cookie | ) |
Add a single cookie.
If a cookie with the same name/domain/path exists, update its value, expiration and flags.
Definition at line 707 of file ncbi_cookies.cpp.
References CHttpCookie::GetDomain(), CHttpCookie::GetName(), CHttpCookie::GetPath(), CHttpCookies::m_CookieMap, CHttpCookies::sx_RevertDomain(), and CHttpCookies::x_Find().
Referenced by CHttpCookies::Add(), and CHttpSession_Base::x_SetCookies().
size_t CHttpCookies::Add | ( | ECookieHeader | header, |
const CTempString & | str, | ||
const CUrl * | url | ||
) |
Parse a single Cookie or Set-Cookie header, discard bad cookies.
header | eHeader_Cookie: the string may contain multiple name/value pairs. eHeader_SetCookie: the method reads a single Set-Cookie line and matches the cookie using the url (if any) and discards the cookie if it does not pass matching. |
str | String containing a single HTTP-response cookie or multiple HTTP-request cookies depending on 'header' value. The string must not contain 'Set-Cookie:' or 'Cookie:' text. |
url | If not null, the parsed cookie is matched against the url. If an attribute does not pass matching (domain, path, secure, http-only) the whole cookie is discarded. |
Definition at line 720 of file ncbi_cookies.cpp.
References CHttpCookies::Add(), CHttpCookies::Cleanup(), count, CHttpCookies::eHeader_Cookie, NStr::fSplit_MergeDelimiters, NStr::fSplit_Truncate, CHttpCookie::GetDomain(), CUrl::GetHost(), CHttpCookie::GetName(), CHttpCookie::GetPath(), CUrl::GetPath(), CHttpCookie::IsExpired(), ITERATE, CHttpCookie::Match(), CHttpCookie::Parse(), CHttpCookie::SetDomain(), CHttpCookie::SetHostOnly(), CHttpCookie::SetPath(), NStr::Split(), str(), and CHttpCookies::x_Find().
string CHttpCookie::AsString | ( | ECookieFormat | format | ) | const |
Compose string from the cookie.
If quoting is enabled, the value is placed in double-quotes. NOTE that this method does not print 'Set-Cookie:' or 'Cookie:' header itself, just the cookie value.
format |
|
Definition at line 214 of file ncbi_cookies.cpp.
References CHttpCookie::eField_Domain, CHttpCookie::eField_Extension, CHttpCookie::eField_Name, CHttpCookie::eField_Path, CHttpCookie::eField_Value, CHttpCookie::eHTTPRequest, CHttpCookie::eHTTPResponse, format, CHttpCookie::GetExpirationStr(), CTime::IsEmpty(), CHttpCookie::m_Accessed, CHttpCookie::m_Domain, CHttpCookie::m_Expires, CHttpCookie::m_Extension, CHttpCookie::m_HttpOnly, CHttpCookie::m_Name, CHttpCookie::m_Path, CHttpCookie::m_Secure, CHttpCookie::m_Value, CTime::SetCurrent(), and CHttpCookie::x_Validate().
Referenced by CHttpSession_Base::x_GetCookies().
|
inline |
Iterate cookies matching the given URL.
Definition at line 524 of file ncbi_cookies.hpp.
References CHttpCookies::CHttpCookie_CI.
|
inline |
Iterate all cookies.
Definition at line 518 of file ncbi_cookies.hpp.
References CHttpCookies::CHttpCookie_CI, and NULL.
Referenced by CHttpSession_Base::x_GetCookies().
CHttpCookie::CHttpCookie | ( | const CTempString & | name, |
const CTempString & | value, | ||
const CTempString & | domain = kEmptyStr , |
||
const CTempString & | path = kEmptyStr |
||
) |
Create a cookie with the given attributes.
No validation is performed at this time except that the name can not be empty.
Definition at line 77 of file ncbi_cookies.cpp.
References CHttpCookie::m_Name, NCBI_THROW, and CHttpCookie::SetDomain().
CHttpCookie::CHttpCookie | ( | void | ) |
Create an empty cookie.
Definition at line 66 of file ncbi_cookies.cpp.
CHttpCookie_CI::CHttpCookie_CI | ( | const CHttpCookie_CI & | other | ) |
Definition at line 898 of file ncbi_cookies.cpp.
|
private |
Definition at line 878 of file ncbi_cookies.cpp.
References map_checker< Container >::begin(), map_checker< Container >::end(), CUrl::GetHost(), map_checker< Container >::lower_bound(), CHttpCookies::m_CookieMap, CHttpCookie_CI::m_Cookies, CHttpCookie_CI::m_ListIt, CHttpCookie_CI::m_MapIt, CHttpCookie_CI::m_Url, NULL, CHttpCookies::sx_RevertDomain(), and CHttpCookie_CI::x_Settle().
CHttpCookie_CI::CHttpCookie_CI | ( | void | ) |
Definition at line 872 of file ncbi_cookies.cpp.
void CHttpCookies::Cleanup | ( | size_t | max_count = 0 | ) |
Cleanup cookies.
Remove the expired ones first, then if the remaining number of cookies is above the limit, remove domains containing most cookies until the total number is below the limit.
Definition at line 791 of file ncbi_cookies.cpp.
References _ASSERT, map_checker< Container >::clear(), count, map_checker< Container >::end(), map_checker< Container >::erase(), ERASE_ITERATE, map_checker< Container >::find(), ITERATE, CHttpCookies::m_CookieMap, and s_DomainCountLess().
Referenced by CHttpCookies::Add().
|
inline |
Empty iterator.
Definition at line 530 of file ncbi_cookies.hpp.
References CHttpCookies::CHttpCookie_CI.
Get domain.
Definition at line 427 of file ncbi_cookies.hpp.
References CHttpCookie::m_Domain.
Referenced by CHttpCookies::Add().
|
overridevirtual |
Get error code interpreted as text.
Reimplemented from CException.
Definition at line 1013 of file ncbi_cookies.cpp.
References CHttpCookieException::eIterator, CHttpCookieException::eValue, CException::GetErrCode(), and CException::GetErrCodeString().
string CHttpCookie::GetExpirationStr | ( | void | ) | const |
Get string representaion of expiration time (dd-Mon-yyyy hh:mm:ss GMT) or empty string if expiration is not set.
Definition at line 98 of file ncbi_cookies.cpp.
References CTime::AsString(), CTime::IsEmpty(), kCookieTimeFormat(), kEmptyStr, and CHttpCookie::m_Expires.
Referenced by CHttpCookie::AsString().
The returned CTime may be empty if expiration date is not set.
Definition at line 442 of file ncbi_cookies.hpp.
References CHttpCookie::m_Expires.
Get any unparsed attributes merged into a single line using semicolon separators.
Definition at line 457 of file ncbi_cookies.hpp.
References CHttpCookie::m_Extension.
|
inline |
Get host-only flag.
The flag is set if the incoming cookie contains no domain attribute. In this case the domain is set to the originating host but no domain matching is used and the cookie can be sent back only to the same domain.
Definition at line 432 of file ncbi_cookies.hpp.
References CHttpCookie::m_HostOnly.
|
inline |
Get HTTP-only flag.
If set, the cookie can only be sent through http or https connection.
Definition at line 452 of file ncbi_cookies.hpp.
References CHttpCookie::m_HttpOnly.
Get cookie's name. No encoding/decoding is performed.
Definition at line 417 of file ncbi_cookies.hpp.
References CHttpCookie::m_Name.
Referenced by CHttpCookies::Add().
Get path.
Definition at line 437 of file ncbi_cookies.hpp.
References CHttpCookie::m_Path.
Referenced by CHttpCookies::Add().
|
inline |
Get secure flag.
If set, the cookie can only be sent through a secure connections.
Definition at line 447 of file ncbi_cookies.hpp.
References CHttpCookie::m_Secure.
Get cookie's value. No encoding/decoding is performed.
Definition at line 422 of file ncbi_cookies.hpp.
References CHttpCookie::m_Value.
Check if the cookie has expired by "now".
Return false if the expiration time is not set.
Definition at line 108 of file ncbi_cookies.cpp.
References false, CTime::IsEmpty(), and CHttpCookie::m_Expires.
|
inline |
Check if the cookie is currently expired.
Definition at line 512 of file ncbi_cookies.hpp.
References CTime::eCurrent, and CTime::eGmt.
Referenced by CHttpCookies::Add().
|
static |
Check if the value can be safely used for the selected field.
If the value is not valid and err_msg is not NULL, save error description to the string.
Definition at line 114 of file ncbi_cookies.cpp.
References _ASSERT, CHttpCookie::eField_Domain, CHttpCookie::eField_Extension, CHttpCookie::eField_Name, CHttpCookie::eField_Path, CHttpCookie::eField_Value, isalnum(), iscntrl(), kBannedChars_Extension, kBannedChars_Name, kBannedChars_Path, kBannedChars_Value, NPOS, NStr::SizetToString(), string, and rapidjson::value.
Referenced by CHttpCookie::Parse(), CHttpCookie::Validate(), and CHttpCookie::x_Validate().
Check if the cookie matches domain, path and scheme of the URL.
Definition at line 606 of file ncbi_cookies.cpp.
References NStr::EqualNocase(), CUrl::GetHost(), CUrl::GetPath(), CUrl::GetScheme(), CUrl::IsEmpty(), CHttpCookie::m_HttpOnly, CHttpCookie::m_Secure, CHttpCookie::MatchDomain(), and CHttpCookie::MatchPath().
Referenced by CHttpCookies::Add().
Helper method for string matching.
Cookie domain matches the 'host' if they are identical or 'host' ends with cookie domain and the last non-matching char in 'host' is '.'. If HostOnly flag is set, cookie domain must be identical to the host, no partial matching is used.
Definition at line 630 of file ncbi_cookies.cpp.
References CHttpCookie::m_Domain, CHttpCookie::m_HostOnly, NPOS, and NStr::ToLower().
Referenced by CHttpCookie::Match().
'path' matches if it starts with 'cookie_path' and the last matching char or the first non-matching char is '/'.
The last segment of 'path' (anything after the last '/') is ignored.
Definition at line 650 of file ncbi_cookies.cpp.
References CHttpCookie::m_Path, next(), NPOS, and NStr::StartsWith().
Referenced by CHttpCookie::Match().
CHttpCookieException::NCBI_EXCEPTION_DEFAULT | ( | CHttpCookieException | , |
CException | |||
) |
|
inline |
Definition at line 536 of file ncbi_cookies.hpp.
|
inline |
Definition at line 548 of file ncbi_cookies.hpp.
References CHttpCookie_CI::x_Compare().
Definition at line 305 of file ncbi_cookies.hpp.
References NStr::CompareNocase().
const CHttpCookie & CHttpCookie_CI::operator* | ( | void | ) | const |
Definition at line 926 of file ncbi_cookies.cpp.
References CHttpCookie_CI::m_ListIt, and CHttpCookie_CI::x_CheckState().
CHttpCookie_CI & CHttpCookie_CI::operator++ | ( | void | ) |
Definition at line 917 of file ncbi_cookies.cpp.
References CHttpCookie_CI::x_CheckState(), CHttpCookie_CI::x_Next(), and CHttpCookie_CI::x_Settle().
const CHttpCookie * CHttpCookie_CI::operator-> | ( | void | ) | const |
Definition at line 933 of file ncbi_cookies.cpp.
References CHttpCookie_CI::x_CheckState().
bool CHttpCookie::operator< | ( | const CHttpCookie & | cookie | ) | const |
Compare two cookies:
Definition at line 306 of file ncbi_cookies.cpp.
References CHttpCookie::sx_Compare().
CHttpCookie_CI & CHttpCookie_CI::operator= | ( | const CHttpCookie_CI & | other | ) |
Definition at line 904 of file ncbi_cookies.cpp.
References CHttpCookie_CI::m_Cookies, CHttpCookie_CI::m_ListIt, and CHttpCookie_CI::m_MapIt.
bool CHttpCookie::operator== | ( | const CHttpCookie & | cookie | ) | const |
Compare two cookies.
Definition at line 312 of file ncbi_cookies.cpp.
References CHttpCookie::sx_Compare().
|
inline |
Definition at line 542 of file ncbi_cookies.hpp.
References CHttpCookie_CI::x_Compare().
bool CHttpCookie::Parse | ( | const CTempString & | str | ) |
Read cookie from the string.
The string should not include 'Cookie:' or 'Set-Cookie:' header. In case of HTTP request cookies ('Cookie:' header) the input should contain only one name=value pair. Return true on success, false on error (bad symbols in name/value, invalid domain, inproper protocol etc. - see RFC-6265). Parsing errors are logged with 'Info' severity.
Definition at line 461 of file ncbi_cookies.cpp.
References CTime::AddSecond(), CTime::Clear(), CHttpCookie::eField_Domain, CHttpCookie::eField_Name, CHttpCookie::eField_Path, CHttpCookie::eField_Value, CTime::eGmt, NStr::EndsWith(), NStr::EqualNocase(), ERR_POST_X, ncbi::grid::netcache::search::fields::expires, NStr::fSplit_MergeDelimiters, NStr::fSplit_Truncate, Info(), CTime::IsEmpty(), CHttpCookie::IsValidValue(), ITERATE, CHttpCookie::m_Accessed, CHttpCookie::m_Created, CHttpCookie::m_Domain, CHttpCookie::m_Expires, CHttpCookie::m_Extension, CHttpCookie::m_HostOnly, CHttpCookie::m_HttpOnly, CHttpCookie::m_Name, CHttpCookie::m_Path, CHttpCookie::m_Secure, CHttpCookie::m_Value, NPOS, s_ParseDateTime(), CTime::SetCurrent(), CTime::SetTimeZone(), NStr::Split(), str(), NStr::ToLower(), NStr::TruncateSpaces(), and rapidjson::value.
Referenced by CHttpCookies::Add().
void CHttpCookie::Reset | ( | void | ) |
Reset value and all attributes, keep just the name.
Definition at line 682 of file ncbi_cookies.cpp.
References CTime::Clear(), CHttpCookie::m_Accessed, CHttpCookie::m_Created, CHttpCookie::m_Domain, CHttpCookie::m_Expires, CHttpCookie::m_Extension, CHttpCookie::m_HostOnly, CHttpCookie::m_HttpOnly, CHttpCookie::m_Path, CHttpCookie::m_Secure, and CHttpCookie::m_Value.
|
inline |
Set cookie's domain.
The value is converted to lower case and the leading '.' is trimmed (if any). No other validation is performed immediately, but if the value is invalid CHttpCookieExcepion will be thrown on an attempt to get the cookie as a string.
Definition at line 472 of file ncbi_cookies.hpp.
References CHttpCookie::m_Domain, and NStr::ToLower().
Referenced by CHttpCookies::Add(), and CHttpCookie::CHttpCookie().
Set expiration time, must be a GMT one.
Definition at line 486 of file ncbi_cookies.hpp.
References CHttpCookie::m_Expires.
|
inline |
Any additional attributes (multiple attributes should be separated with semicolon).
The string is appended to the cookie, semicolon-separated when converting it to a string.
Definition at line 501 of file ncbi_cookies.hpp.
References CHttpCookie::m_Extension.
|
inline |
Set host-only flag.
If the flag is true, the domain must be identical to the host when sending the cookie back (rather than just match it).
Definition at line 506 of file ncbi_cookies.hpp.
References CHttpCookie::m_HostOnly.
Referenced by CHttpCookies::Add().
|
inline |
Set HTTP-only flag.
If set, the cookie can only be sent through http or https connection. Unset by default.
Definition at line 496 of file ncbi_cookies.hpp.
References CHttpCookie::m_HttpOnly.
|
inline |
Set cookie's name.
No validation is performed immediately, but if the value is invalid CHttpCookieExcepion will be thrown on an attempt to get the cookie as a string. The name is never encoded - the caller is responsible for providing a valid name.
Definition at line 462 of file ncbi_cookies.hpp.
References CHttpCookie::m_Name.
|
inline |
Set cookie's path.
No validation is performed immediately, but if the value is invalid CHttpCookieExcepion will be thrown on an attempt to get the cookie as a string.
Definition at line 481 of file ncbi_cookies.hpp.
References CHttpCookie::m_Path.
Referenced by CHttpCookies::Add().
|
inline |
Set secure flag.
If set, the cookie can only be sent through a secure connection. Unset by default.
Definition at line 491 of file ncbi_cookies.hpp.
References CHttpCookie::m_Secure.
|
inline |
Set cookie's value.
No validation is performed immediately, but if the value is invalid CHttpCookieExcepion will be thrown on an attempt to get the cookie as a string. The value is never encoded - the caller is responsible for providing a valid value.
Definition at line 467 of file ncbi_cookies.hpp.
References CHttpCookie::m_Value, and rapidjson::value.
|
staticprivate |
Definition at line 265 of file ncbi_cookies.cpp.
References PNocase_Generic< T >::Compare(), int, CHttpCookie::m_Created, CHttpCookie::m_Domain, CHttpCookie::m_Name, and CHttpCookie::m_Path.
Referenced by CHttpCookie::operator<(), and CHttpCookie::operator==().
Definition at line 851 of file ncbi_cookies.cpp.
References NStr::fSplit_MergeDelimiters, NStr::fSplit_Truncate, names, REVERSE_ITERATE, and NStr::Split().
Referenced by CHttpCookies::Add(), CHttpCookie_CI::CHttpCookie_CI(), and CHttpCookies::x_Find().
bool CHttpCookie::Validate | ( | void | ) | const |
Check if name, value, domain and path of the cookie are valid.
Definition at line 318 of file ncbi_cookies.cpp.
References CHttpCookie::eField_Domain, CHttpCookie::eField_Extension, CHttpCookie::eField_Name, CHttpCookie::eField_Path, CHttpCookie::eField_Value, CHttpCookie::IsValidValue(), CHttpCookie::m_Domain, CHttpCookie::m_Extension, CHttpCookie::m_Name, CHttpCookie::m_Path, CHttpCookie::m_Value, and NULL.
|
private |
Definition at line 981 of file ncbi_cookies.cpp.
References NCBI_THROW, and CHttpCookie_CI::x_IsValid().
Referenced by CHttpCookie_CI::operator*(), CHttpCookie_CI::operator++(), and CHttpCookie_CI::operator->().
|
private |
Definition at line 951 of file ncbi_cookies.cpp.
References _ASSERT, map_checker< Container >::end(), CHttpCookies::m_CookieMap, CHttpCookie_CI::m_Cookies, CHttpCookie_CI::m_ListIt, and CHttpCookie_CI::m_MapIt.
Referenced by CHttpCookie_CI::operator!=(), and CHttpCookie_CI::operator==().
|
private |
Definition at line 833 of file ncbi_cookies.cpp.
References map_checker< Container >::end(), NStr::EqualNocase(), map_checker< Container >::lower_bound(), CHttpCookies::m_CookieMap, NON_CONST_ITERATE, and CHttpCookies::sx_RevertDomain().
Referenced by CHttpCookies::Add().
|
private |
Definition at line 940 of file ncbi_cookies.cpp.
References map_checker< Container >::end(), CHttpCookies::m_CookieMap, CHttpCookie_CI::m_Cookies, CHttpCookie_CI::m_ListIt, CHttpCookie_CI::m_MapIt, and CHttpCookie_CI::m_Url.
Referenced by CHttpCookie_CI::x_CheckState(), and CHttpCookie_CI::x_Settle().
|
private |
Definition at line 988 of file ncbi_cookies.cpp.
References map_checker< Container >::end(), CHttpCookies::m_CookieMap, CHttpCookie_CI::m_Cookies, CHttpCookie_CI::m_ListIt, CHttpCookie_CI::m_MapIt, and NULL.
Referenced by CHttpCookie_CI::operator++(), and CHttpCookie_CI::x_Settle().
|
private |
Definition at line 1005 of file ncbi_cookies.cpp.
References CHttpCookie_CI::m_Cookies, CHttpCookie_CI::x_IsValid(), and CHttpCookie_CI::x_Next().
Referenced by CHttpCookie_CI::CHttpCookie_CI(), and CHttpCookie_CI::operator++().
|
private |
Definition at line 192 of file ncbi_cookies.cpp.
References CHttpCookie::eField_Domain, CHttpCookie::eField_Extension, CHttpCookie::eField_Name, CHttpCookie::eField_Path, CHttpCookie::eField_Value, CHttpCookie::IsValidValue(), NCBI_THROW, and rapidjson::value.
Referenced by CHttpCookie::AsString().
|
virtual |
Definition at line 702 of file ncbi_cookies.cpp.
|
mutableprivate |
Definition at line 231 of file ncbi_cookies.hpp.
Referenced by CHttpCookie::AsString(), CHttpCookie::Parse(), and CHttpCookie::Reset().
|
private |
Definition at line 326 of file ncbi_cookies.hpp.
Referenced by CHttpCookies::Add(), CHttpCookie_CI::CHttpCookie_CI(), CHttpCookies::Cleanup(), CHttpCookie_CI::x_Compare(), CHttpCookies::x_Find(), CHttpCookie_CI::x_IsValid(), and CHttpCookie_CI::x_Next().
|
private |
Definition at line 375 of file ncbi_cookies.hpp.
Referenced by CHttpCookie_CI::CHttpCookie_CI(), CHttpCookie_CI::operator=(), CHttpCookie_CI::x_Compare(), CHttpCookie_CI::x_IsValid(), CHttpCookie_CI::x_Next(), and CHttpCookie_CI::x_Settle().
|
private |
Definition at line 230 of file ncbi_cookies.hpp.
Referenced by CHttpCookie::Parse(), CHttpCookie::Reset(), and CHttpCookie::sx_Compare().
|
private |
Definition at line 224 of file ncbi_cookies.hpp.
Referenced by CHttpCookie::AsString(), CHttpCookie::GetDomain(), CHttpCookie::MatchDomain(), CHttpCookie::Parse(), CHttpCookie::Reset(), CHttpCookie::SetDomain(), CHttpCookie::sx_Compare(), and CHttpCookie::Validate().
|
private |
Definition at line 226 of file ncbi_cookies.hpp.
Referenced by CHttpCookie::AsString(), CHttpCookie::GetExpirationStr(), CHttpCookie::GetExpirationTime(), CHttpCookie::IsExpired(), CHttpCookie::Parse(), CHttpCookie::Reset(), and CHttpCookie::SetExpirationTime().
|
private |
Definition at line 229 of file ncbi_cookies.hpp.
Referenced by CHttpCookie::AsString(), CHttpCookie::GetExtension(), CHttpCookie::Parse(), CHttpCookie::Reset(), CHttpCookie::SetExtension(), and CHttpCookie::Validate().
|
private |
Definition at line 232 of file ncbi_cookies.hpp.
Referenced by CHttpCookie::GetHostOnly(), CHttpCookie::MatchDomain(), CHttpCookie::Parse(), CHttpCookie::Reset(), and CHttpCookie::SetHostOnly().
|
private |
Definition at line 228 of file ncbi_cookies.hpp.
Referenced by CHttpCookie::AsString(), CHttpCookie::GetHttpOnly(), CHttpCookie::Match(), CHttpCookie::Parse(), CHttpCookie::Reset(), and CHttpCookie::SetHttpOnly().
|
private |
Definition at line 378 of file ncbi_cookies.hpp.
Referenced by CHttpCookie_CI::CHttpCookie_CI(), CHttpCookie_CI::operator*(), CHttpCookie_CI::operator=(), CHttpCookie_CI::x_Compare(), CHttpCookie_CI::x_IsValid(), and CHttpCookie_CI::x_Next().
|
private |
Definition at line 377 of file ncbi_cookies.hpp.
Referenced by CHttpCookie_CI::CHttpCookie_CI(), CHttpCookie_CI::operator=(), CHttpCookie_CI::x_Compare(), CHttpCookie_CI::x_IsValid(), and CHttpCookie_CI::x_Next().
|
private |
Definition at line 222 of file ncbi_cookies.hpp.
Referenced by CHttpCookie::AsString(), CHttpCookie::CHttpCookie(), CHttpCookie::GetName(), CHttpCookie::Parse(), CHttpCookie::SetName(), CHttpCookie::sx_Compare(), and CHttpCookie::Validate().
|
private |
Definition at line 225 of file ncbi_cookies.hpp.
Referenced by CHttpCookie::AsString(), CHttpCookie::GetPath(), CHttpCookie::MatchPath(), CHttpCookie::Parse(), CHttpCookie::Reset(), CHttpCookie::SetPath(), CHttpCookie::sx_Compare(), and CHttpCookie::Validate().
|
private |
Definition at line 227 of file ncbi_cookies.hpp.
Referenced by CHttpCookie::AsString(), CHttpCookie::GetSecure(), CHttpCookie::Match(), CHttpCookie::Parse(), CHttpCookie::Reset(), and CHttpCookie::SetSecure().
|
private |
Definition at line 376 of file ncbi_cookies.hpp.
Referenced by CHttpCookie_CI::CHttpCookie_CI(), and CHttpCookie_CI::x_IsValid().
|
private |
Definition at line 223 of file ncbi_cookies.hpp.
Referenced by CHttpCookie::AsString(), CHttpCookie::GetValue(), CHttpCookie::Parse(), CHttpCookie::Reset(), CHttpCookie::SetValue(), and CHttpCookie::Validate().
|
friend |
Definition at line 313 of file ncbi_cookies.hpp.
|
friend |
Definition at line 314 of file ncbi_cookies.hpp.
Referenced by CHttpCookies::begin(), and CHttpCookies::end().
|
friend |
Definition at line 354 of file ncbi_cookies.hpp.