Class TBrookHTTPCookies
Unit
Declaration
type TBrookHTTPCookies = class(TOwnedCollection)
Description
Server side HTTP cookie list.
Hierarchy
- TObject
- TPersistent
- TCollection
- TOwnedCollection
- TBrookHTTPCookies
Overview
Methods
constructor Create(AOwner: TPersistent); virtual; |
|
class function GetCookieClass: TBrookHTTPCookieClass; virtual; |
|
procedure Assign(ASource: TPersistent); override; |
|
function GetEnumerator: TBrookHTTPCookiesEnumerator; |
|
function Add: TBrookHTTPCookie; virtual; |
|
function Remove(const AName: string): Boolean; virtual; |
|
function IndexOf(const AName: string): Integer; virtual; |
|
function Find(const AName: string): TBrookHTTPCookie; virtual; |
|
function First: TBrookHTTPCookie; virtual; |
|
function Last: TBrookHTTPCookie; virtual; |
Properties
property Items[AIndex:Integer]: TBrookHTTPCookie read GetItem
write SetItem; |
Description
Methods
constructor Create(AOwner: TPersistent); virtual; |
|
Creates an instance of Parameters
|
class function GetCookieClass: TBrookHTTPCookieClass; virtual; |
|
Gets the default class for cookie item creation. |
procedure Assign(ASource: TPersistent); override; |
|
Copies the items of the source cookies. Parameters
|
function GetEnumerator: TBrookHTTPCookiesEnumerator; |
|
Creates an enumerator to iterate the cookies though |
function Add: TBrookHTTPCookie; virtual; |
|
Adds a new cookie to the cookies list. |
function Remove(const AName: string): Boolean; virtual; |
|
Removes a cookie from the cookies list by its name. Parameters
|
function IndexOf(const AName: string): Integer; virtual; |
|
Gets the cookie index by its name. |
function Find(const AName: string): TBrookHTTPCookie; virtual; |
|
Finds a cookie in the cookies list by its name. Parameters
|
function First: TBrookHTTPCookie; virtual; |
|
Gets the |
function Last: TBrookHTTPCookie; virtual; |
|
Gets the |
Properties
property Items[AIndex:Integer]: TBrookHTTPCookie read GetItem
write SetItem; |
|
Gets/sets a cookie from/to the cookies list by its index. |
Generated by PasDoc 0.16.0.