[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Base class for web modules with action and template support
Source position: fpweb.pp line 108
type TCustomFPWebModule = class(TSessionHTTPModule) |
||
public |
||
constructor CreateNew(); override; |
|
Creates a new web module instance |
destructor Destroy; override; |
|
Destroys the web module instance |
procedure HandleRequest(); override; |
|
Processes an incoming HTTP request |
property Actions: TFPWebActions; [rw] |
|
Collection of web actions for this module |
property ActionVar: string; [rw] |
|
Name of the request parameter used to identify actions |
property BeforeRequest: TRequestEvent; [rw] |
|
Event called before request processing |
property OnRequest: TWebActionEvent; [rw] |
|
Event called for request processing |
property AfterResponse: TResponseEvent; [rw] |
|
Event called after response processing |
property OnGetAction: TGetActionEvent; [rw] |
|
Event called to determine which action to execute |
property DefActionWhenUnknown: Boolean; [rw] |
|
Whether to use the default action when no specific action is found |
property ModuleTemplate: TFPTemplate; [rw] |
|
Template used for content generation |
property OnGetParam: TGetParamEvent; [rw] |
|
Event called to resolve template parameters |
property OnTemplateContent: TGetParamEvent; [rw] |
|
Event called for template content processing |
|
The current HTTP request being processed |
|
|
The current HTTP response being generated |
|
end; |
|
Base class for web modules with action and template support |
|
| | | ||
|
HTTP module with session support |
|
| | | ||
|
Base class for HTTP modules |
|
| | | ||
| | | ||
| | | ||
| | | ||
TCustomFPWebModule extends TSessionHTTPModule with support for web actions, template processing, and advanced request handling. This class provides the foundation for building complex web applications with structured request routing and dynamic content generation.
The module manages a collection of web actions, template variables, and provides hooks for request preprocessing and response postprocessing.
|
Complete web module with published properties |
|
|
Collection of web actions with advanced functionality |
|