TCustomWebAction class
Base class for web actions
Declaration
TCustomWebAction = class(TCollectionItem)Inheritance
- TCustomWebAction
- TCollectionItem
- TPersistent
- TObject
Descends from it: TFPWebAction
Description
TCustomWebAction represents an individual web action that can handle specific HTTP requests.
It associates a content producer or a simple event with request handling events.
Web actions are selected by the
TCustomHTTPModule module by checking the second path element in the HTTP URL:
{BaseURL}/module/actionProperties
Name | published | Name of the web action |
ContentProducer | published | Content producer for this action |
Default | published | Indicates if this is the default action |
BeforeRequest | published | Event triggered before request processing |
AfterResponse | published | Event triggered after response generation |
Methods
SetContentProducer | protected | |
GetDisplayName | protected | Returns the of the collectionitem. |
SetDisplayName | protected | Write method for the property. |
HandleRequest | protected | |
DoHandleRequest | protected | |
GetNamePath | public | Returns the action name path |
Inherited
From TCollectionItem (10)
Changed Collection Create Destroy DisplayName GetOwner ID Index SetCollection SetIndex
From TPersistent (6)
Assign AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers
From TObject (40)
AfterConstruction BeforeDestruction 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 SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
