Class TRALBaseRoute
Unit
Declaration
type TRALBaseRoute = class(TCollectionItem)
Description
Base class for individual route definition
Hierarchy
- TObject
- TPersistent
- TCollectionItem
- TRALBaseRoute
Overview
Methods
![]() |
constructor Create(ACollection: TCollection); override; |
![]() |
destructor Destroy; override; |
![]() |
function GetAllowMethods: StringRAL; |
![]() |
function GetFullRoute: StringRAL; |
![]() |
function GetNamePath: string; override; |
![]() |
function IsMethodAllowed(const AMethod: TRALMethod): boolean; |
![]() |
function IsMethodSkipped(const AMethod: TRALMethod): boolean; |
![]() |
function GetDisplayName: string; override; |
![]() |
procedure Execute(ARequest: TRALRequest; AResponse: TRALResponse); |
![]() |
procedure AssignTo(Dest: TPersistent); override; |
![]() |
procedure SetAllowedMethods(const AValue: TRALMethods); |
![]() |
procedure SetDescription(const AValue: TStrings); |
![]() |
procedure SetDisplayName(const AValue: string); override; |
![]() |
procedure SetRoute(AValue: StringRAL); |
![]() |
procedure SetSkipAuthMethods(const AValue: TRALMethods); |
Properties
![]() |
property AllowedMethods: TRALMethods read FAllowedMethods write SetAllowedMethods; |
![]() |
property AllowURIParams: Boolean read FAllowURIParams write FAllowURIParams; |
![]() |
property Callback: boolean read FCallback write FCallback; |
![]() |
property Description: TStrings read FDescription write SetDescription; |
![]() |
property InputParams: TRALRouteParams read FInputParams write FInputParams; |
![]() |
property Name: StringRAL read FName write FName; |
![]() |
property OnReply: TRALOnReply read FOnReply write FOnReply; |
![]() |
property OnReplyGen: TRALOnReplyGen read FOnReplyGen write FOnReplyGen; |
![]() |
property Route: StringRAL read FRoute write SetRoute; |
![]() |
property SkipAuthMethods: TRALMethods read FSkipAuthMethods write SetSkipAuthMethods; |
![]() |
property URIParams: TRALRouteParams read FURIParams write FURIParams; |
Description
Methods
![]() |
constructor Create(ACollection: TCollection); override; |
![]() |
destructor Destroy; override; |
![]() |
function GetAllowMethods: StringRAL; |
|
Returns methods that this route will answer | |
![]() |
function GetFullRoute: StringRAL; |
![]() |
function GetNamePath: string; override; |
![]() |
function IsMethodAllowed(const AMethod: TRALMethod): boolean; |
|
Returns true or false wether the method is allowed in route | |
![]() |
function IsMethodSkipped(const AMethod: TRALMethod): boolean; |
|
Returns true or false wether the method is skipped in authentication | |
![]() |
function GetDisplayName: string; override; |
![]() |
procedure Execute(ARequest: TRALRequest; AResponse: TRALResponse); |
|
Runs the OnReply event | |
![]() |
procedure AssignTo(Dest: TPersistent); override; |
![]() |
procedure SetAllowedMethods(const AValue: TRALMethods); |
|
checks if the route already exists on the list | |
![]() |
procedure SetDescription(const AValue: TStrings); |
![]() |
procedure SetDisplayName(const AValue: string); override; |
![]() |
procedure SetRoute(AValue: StringRAL); |
![]() |
procedure SetSkipAuthMethods(const AValue: TRALMethods); |
Properties
![]() |
property AllowedMethods: TRALMethods read FAllowedMethods write SetAllowedMethods; |
![]() |
property AllowURIParams: Boolean read FAllowURIParams write FAllowURIParams; |
![]() |
property Callback: boolean read FCallback write FCallback; |
![]() |
property Description: TStrings read FDescription write SetDescription; |
![]() |
property InputParams: TRALRouteParams read FInputParams write FInputParams; |
![]() |
property Name: StringRAL read FName write FName; |
![]() |
property OnReply: TRALOnReply read FOnReply write FOnReply; |
![]() |
property OnReplyGen: TRALOnReplyGen read FOnReplyGen write FOnReplyGen; |
![]() |
property Route: StringRAL read FRoute write SetRoute; |
![]() |
property SkipAuthMethods: TRALMethods read FSkipAuthMethods write SetSkipAuthMethods; |
![]() |
property URIParams: TRALRouteParams read FURIParams write FURIParams; |
GitHub Repository
Generated by PasDoc 0.16.0.


