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