Class TBrookURLEntryPoints
Unit
Declaration
type TBrookURLEntryPoints = class(TBrookHandledComponent)
Description
URL entry-points component.
Hierarchy
- TObject
- TPersistent
- TComponent
- TBrookHandledComponent
- TBrookURLEntryPoints
Overview
Methods
constructor Create(AOwner: TComponent); override; |
|
destructor Destroy; override; |
|
function GetEnumerator: TBrookURLEntryPointListEnumerator; |
|
function Add: TBrookURLEntryPoint; inline; |
|
procedure Remove(const AName: string); inline; |
|
procedure Clear; inline; |
|
procedure Open; |
|
procedure Close; |
|
procedure Enter(ASender: TObject; const APath: string; ARequest: TBrookHTTPRequest; AResponse: TBrookHTTPResponse); overload; virtual; |
|
procedure Enter(ASender: TObject; ARequest: TBrookHTTPRequest; AResponse: TBrookHTTPResponse); overload; virtual; |
Properties
property Items[AIndex:Integer]: TBrookURLEntryPoint read GetItem
write SetItem; |
|
property Active: Boolean read FActive write SetActive stored IsActiveStored; |
|
property List: TBrookURLEntryPointList read FList write SetList; |
|
property OnNotFound: TBrookURLEntryPointsNotFoundEvent read FOnNotFound
write FOnNotFound; |
|
property OnActivate: TNotifyEvent read FOnActivate write FOnActivate; |
|
property OnDeactivate: TNotifyEvent read FOnDeactivate write FOnDeactivate; |
Description
Methods
constructor Create(AOwner: TComponent); override; |
|
Creates an instance of Parameters
|
destructor Destroy; override; |
|
Destroys an instance of |
function GetEnumerator: TBrookURLEntryPointListEnumerator; |
|
Creates an enumerator to iterate the entry-points though |
function Add: TBrookURLEntryPoint; inline; |
|
Adds a new item to the entry-point list. ReturnsEntry-point item. |
procedure Remove(const AName: string); inline; |
|
Removes an item from the entry-point list by its name. Parameters
|
procedure Clear; inline; |
|
Clears the entry-point list. |
procedure Open; |
|
Enabled the entry-point component. |
procedure Close; |
|
Disables the entry-point component. |
procedure Enter(ASender: TObject; const APath: string; ARequest: TBrookHTTPRequest; AResponse: TBrookHTTPResponse); overload; virtual; |
|
Enters into entry-points routing them. Parameters
|
procedure Enter(ASender: TObject; ARequest: TBrookHTTPRequest; AResponse: TBrookHTTPResponse); overload; virtual; |
|
Enters into entry-points routing them. Parameters
|
Properties
property Items[AIndex:Integer]: TBrookURLEntryPoint read GetItem
write SetItem; |
|
Gets/sets an entry-point from/to the entry-point list by its index. |
property Active: Boolean read FActive write SetActive stored IsActiveStored; |
|
Enabled/disables the entry-point component. |
property List: TBrookURLEntryPointList read FList write SetList; |
|
Available entry-point |
property OnNotFound: TBrookURLEntryPointsNotFoundEvent read FOnNotFound
write FOnNotFound; |
|
Event triggered when an entry-point is not found. |
property OnActivate: TNotifyEvent read FOnActivate write FOnActivate; |
|
Event triggered when the component is enabled. |
property OnDeactivate: TNotifyEvent read FOnDeactivate write FOnDeactivate; |
|
Event triggered when the component is disabled. |
Generated by PasDoc 0.16.0.