Class TRALModuleRoutes
Unit
Declaration
type TRALModuleRoutes = class(TRALComponent)
Description
Attachment module to allow adding custom route modules for 3rd party components
Hierarchy
- TObject
- TPersistent
- TComponent
- TRALComponent
- TRALModuleRoutes
Overview
Methods
| Public | constructor Create(AOwner: TComponent); override; |
| Public | destructor Destroy; override; |
| Public | function CanAnswerRoute(ARequest: TRALRequest; AResponse: TRALResponse): TRALRoute; virtual; |
| Public | function CreateRoute(const ARoute: StringRAL; AReplyProc: TRALOnReply; const ADescription: StringRAL = ''): TRALRoute; overload; |
| Public | function CreateRoute(const ARoute: StringRAL; AReplyProc: TRALOnReplyGen; const ADescription: StringRAL = ''): TRALRoute; overload; |
| Public | function GetListRoutes: TList; virtual; |
| Protected | procedure Notification(AComponent: TComponent; Operation: TOperation); override; |
| Protected | procedure SetDomain(const AValue: StringRAL); virtual; |
| Protected | procedure SetServer(AValue: TRALServer); virtual; |
Properties
| Published | property Domain: StringRAL read FDomain write SetDomain; |
| Published | property OnBeforeAnswer: TRALOnReply read FOnBeforeAnswer write FOnBeforeAnswer; |
| Public | property Routes: TRALRoutes read FRoutes write FRoutes; |
| Published | property Server: TRALServer read FServer write SetServer; |
Description
Methods
| Public | constructor Create(AOwner: TComponent); override; |
|
This item has no description. | |
| Public | destructor Destroy; override; |
|
This item has no description. | |
| Public | function CanAnswerRoute(ARequest: TRALRequest; AResponse: TRALResponse): TRALRoute; virtual; |
|
Inherited method of RALServer | |
| Public | function CreateRoute(const ARoute: StringRAL; AReplyProc: TRALOnReply; const ADescription: StringRAL = ''): TRALRoute; overload; |
|
Shortcut to create route on the server, similar to RALServer's CreateRoute | |
| Public | function CreateRoute(const ARoute: StringRAL; AReplyProc: TRALOnReplyGen; const ADescription: StringRAL = ''): TRALRoute; overload; |
|
This item has no description. | |
| Public | function GetListRoutes: TList; virtual; |
|
Inherited method of RALServer | |
| Protected | procedure Notification(AComponent: TComponent; Operation: TOperation); override; |
|
This item has no description. | |
| Protected | procedure SetDomain(const AValue: StringRAL); virtual; |
|
Defines the Domain prefix of all the routes of the instance of this class | |
| Protected | procedure SetServer(AValue: TRALServer); virtual; |
|
Defines the handle of the RALServer in which will be registered the routes | |
Properties
| Published | property Domain: StringRAL read FDomain write SetDomain; |
|
This item has no description. | |
| Published | property OnBeforeAnswer: TRALOnReply read FOnBeforeAnswer write FOnBeforeAnswer; |
|
This item has no description. | |
| Public | property Routes: TRALRoutes read FRoutes write FRoutes; |
|
This item has no description. | |
| Published | property Server: TRALServer read FServer write SetServer; |
|
This item has no description. | |
PascalRAL - GitHub Repository
Generated by PasDoc 1.0.4.