Unit BrookRouter

Uses
Functions and Procedures
Constants
Variables

Description

Router classes.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class EBrookRoutes Handles exceptions for TBrookRoutes.
Class EBrookRouter Handles exceptions for TBrookRouter.
Record TBrookRoute Defines a route item.
Class TBrookRoutes Defines a list of routes.
Class TBrookRouter Provides features for the route handling.

Types

TBrookRoutesClass = class of TBrookRoutes;
TBrookRouterClass = class of TBrookRouter;
PBrookRoute = ˆTBrookRoute;
TBrookMatchPatternEvent = function(ASender: TObject; APattern, APathInfo: string; out ARedirect: Boolean; out ANames, AValues: TBrookArrayOfString; var AHandled: Boolean): Boolean of object;
PBrookMatchPatternEvent = ˆTBrookMatchPatternEvent;
TBrookRouteEvent = procedure(ASender: TObject; ARequest: TBrookRequest; AResponse: TBrookResponse; var AHandled: Boolean) of object;
PBrookRouteEvent = ˆTBrookRouteEvent;
TBrookExecuteActionEvent = procedure(ASender: TObject; AAction: TBrookAction; ARequest: TBrookRequest; AResponse: TBrookResponse; const ANames, AValues: TBrookArrayOfString; ARoute: TBrookRoute; var AHandled: Boolean) of object;
PBrookExecuteActionEvent = ˆTBrookExecuteActionEvent;

Description

Types

TBrookRoutesClass = class of TBrookRoutes;

Is a metaclass for TBrookRoutes class.

TBrookRouterClass = class of TBrookRouter;

Is a metaclass for TBrookRouter class.

PBrookRoute = ˆTBrookRoute;

Defines a pointer to the route item.

TBrookMatchPatternEvent = function(ASender: TObject; APattern, APathInfo: string; out ARedirect: Boolean; out ANames, AValues: TBrookArrayOfString; var AHandled: Boolean): Boolean of object;

Is a type to *MatchPattern event.

PBrookMatchPatternEvent = ˆTBrookMatchPatternEvent;

Defines a pointer to the match pattern event.

TBrookRouteEvent = procedure(ASender: TObject; ARequest: TBrookRequest; AResponse: TBrookResponse; var AHandled: Boolean) of object;

Is a type to *Route event.

PBrookRouteEvent = ˆTBrookRouteEvent;

Defines a pointer to the route event.

TBrookExecuteActionEvent = procedure(ASender: TObject; AAction: TBrookAction; ARequest: TBrookRequest; AResponse: TBrookResponse; const ANames, AValues: TBrookArrayOfString; ARoute: TBrookRoute; var AHandled: Boolean) of object;

Is a type to *ExecuteAction event.

PBrookExecuteActionEvent = ˆTBrookExecuteActionEvent;

Defines a pointer to the execute action event.


Generated by PasDoc 0.15.0.