|
|
|
Location:
ccookie.h
class CCookie
Supported from 7.0
Encapsulates the attributes of a cookie.
|
Defined in CCookie:
Attribute(), CCookie(), CloseAttribute(), ConstructL(), EComment, ECommentURI, EDiscard, EDomain, EExpires, EMaxAge, EName, EPath, EPort, ESecure, EValue, EVersion, FindAttribute(), FromCookie2(), NewL(), SetAttributeL(), TCookieAttribute, TCookieAttributeName, iAttributes, iSetCookie2, iStringPool, ~CCookie()
Inherited from CBase:
operator new()
static CCookie* NewL(RStringPool aStringPool, RStringF aName, RStringF aValue, TBool aCookie2);
Allocates and constructs a CCookie object.
|
|
void SetAttributeL(TCookieAttributeName aAttributeName, THTTPHdrVal aAttributeVal);
Sets an attribute on the cookie.
Adding an attribute that already exists replaces the existing value.
|
|
TInt Attribute(TCookieAttributeName aAttributeName, THTTPHdrVal& aAttributeVal) const;
Gets the value of a specified attribute.
|
|
TBool FromCookie2() const;
Tests if this cookie come from a SetCookie2 header, rather than a SetCookie header.
|
TCookieAttributeName
Enumeration of all the elements of data that make up a cookie, as defined in RFC 2965.
|
private: CCookie(RStringPool aStringPool, TBool aCookie2);
This member is internal and not intended for use.
private: void ConstructL(RStringF aName, RStringF aValue);
This member is internal and not intended for use.
private: void CloseAttribute(TCookieAttribute aCookieAttribute);
This member is internal and not intended for use.
private: TInt FindAttribute(TCookieAttributeName aAttributeName, TCookieAttribute& aAttribute) const;
This member is internal and not intended for use.
private: RArray<TCookieAttribute> iAttributes;
This member is internal and not intended for use.
class TCookieAttribute
This member is internal and not intended for use.
Defined in CCookie::TCookieAttribute:
TCookieAttribute(), TCookieAttribute(), iName, iValue
TCookieAttribute()TCookieAttribute(TCookieAttributeName aName, THTTPHdrVal aHdrVal);
This member is internal and not intended for use.
TCookieAttribute()TCookieAttribute();
This member is internal and not intended for use.
iNameTCookieAttributeName iName;
This member is internal and not intended for use.
iValueTHTTPHdrVal iValue;
This member is internal and not intended for use.