pleyo.com

BTCookie Class Reference

A Cookie is basically name/value pair stored on host by web pages. More...

#include <BTCookie.h>

List of all members.

Public Member Functions

 BTCookie ()
 BTCookie (String &name, String &value, String &, String &)
 ~BTCookie ()
const Stringname () const
 Get the cookie name.
const Stringvalue () const
 Get the cookie value.
const Stringpath () const
 Get the cookie path.
const Stringdomain () const
 Get the cookie domain.
const double expireDate () const
 Get the cookie expire date.
bool isDomain () const
 Returns true if cookie is set for all domain.
bool isSecure () const
 The cookie is secured only if the transfer was secured (https).
void initFromString (const String &cookie)
 Construct the cookie from the values stored in parameter.
String createBackupStringFromCookie ()
 Creates a backup string from the cookie for it to be saved on a file.
void initCookieFromBackupString (String cookie, String domain)
 Initiate the cookie from a backup string.


Detailed Description

A Cookie is basically name/value pair stored on host by web pages.

domain and path are stored but not used. expires and secure are unsupported.


Constructor & Destructor Documentation

BTCookie::BTCookie (  )  [inline]

BTCookie::BTCookie ( String name,
String value,
String ,
String  
) [inline]

BTCookie::~BTCookie (  )  [inline]


Member Function Documentation

const String& BTCookie::name (  )  const [inline]

Get the cookie name.

const String& BTCookie::value (  )  const [inline]

Get the cookie value.

const String& BTCookie::path (  )  const [inline]

Get the cookie path.

const String& BTCookie::domain (  )  const [inline]

Get the cookie domain.

const double BTCookie::expireDate (  )  const [inline]

Get the cookie expire date.

bool BTCookie::isDomain (  )  const [inline]

Returns true if cookie is set for all domain.

bool BTCookie::isSecure (  )  const [inline]

The cookie is secured only if the transfer was secured (https).

void BTCookie::initFromString ( const String cookie  ) 

Construct the cookie from the values stored in parameter.

Parameters:
in) string containing at least name=value

String BTCookie::createBackupStringFromCookie (  ) 

Creates a backup string from the cookie for it to be saved on a file.

void BTCookie::initCookieFromBackupString ( String  cookie,
String  domain 
)

Initiate the cookie from a backup string.


The documentation for this class was generated from the following files:
Generated on Wed Nov 21 20:04:18 2007 for Origyn Web Browser by Doxygen 1.5.3

pleyo.com
pleyo.com