TCustomFPWebModule class
Base class for web modules with action and template support
Declaration
TCustomFPWebModule = class(TSessionHTTPModule)Inheritance
Descends from it: TFPWebModule
Description
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.
See also
- TFPWebModule
- TFPWebActions
- TSessionHTTPModule
Properties
Actions | public | Collection of web actions for this module |
ActionVar | public | Name of the request parameter used to identify actions |
BeforeRequest | public | Event called before request processing |
AfterResponse | public | Event called after response processing |
DefActionWhenUnknown | public | Whether to use the default action when no specific action is found |
ModuleTemplate | public | Template used for content generation |
Request | public | The current HTTP request being processed |
Response | public | The current HTTP response being generated |
Methods
CreateTemplateVars | protected | |
CreateTemplate | protected | |
CreateActions | protected | |
IsWriteRequest | protected | |
HasToken | protected | |
HandleActions | protected | |
DoOnRequest | protected | |
DoBeforeRequest | protected | |
DoAfterResponse | protected | |
GetParam | protected | |
GetTemplateContent | protected | |
GetContent | protected | |
CreateNew | public | Creates a new web module instance |
Destroy | public | Destroys the web module instance |
HandleRequest | public | Processes an incoming HTTP request |
Events
OnRequest | public | Event called for request processing |
OnGetAction | public | Event called to determine which action to execute |
OnGetParam | public | Event called to resolve template parameters |
OnTemplateContent | public | Event called for template content processing |
Inherited
From TSessionHTTPModule (9)
CheckSession CreateSession DoneSession InitSession Notification OnNewSession OnSessionExpired Session UpdateSession
From TCustomHTTPModule (9)
AfterInitModule BaseURL CORS CreateCORSSUpport DefaultModuleName DefaultSkipStreaming DoAfterInitModule Kind RegisterModule
From TDataModule (15)
AfterConstruction BeforeDestruction Create DefineProperties DesignOffset DesignPPI DesignSize DoCreate DoDestroy GetChildren HandleCreateException OldCreateOrder OnCreate OnDestroy ReadState
From TComponent (69)
_AddRef _Release CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DesignInfo DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetParentComponent GetTypeInfo GetTypeInfoCount HasParent iicrGetComponent InsertComponent Invoke IsImplementorOf Loaded Loading Name ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetParentComponent SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState
From TPersistent (5)
Assign AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers
From TObject (36)
CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
