[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Base class for web actions
Source position: fphttp.pp line 62
type TCustomWebAction = class(TCollectionItem) |
||
public |
||
function GetNamePath; override; |
|
Returns the action name path |
published |
||
property Name: string; [rw] |
|
Name of the web action |
property ContentProducer: THTTPContentProducer; [rw] |
|
Content producer for this action |
property Default: Boolean; [rw] |
|
Indicates if this is the default action |
property BeforeRequest: TRequestEvent; [rw] |
|
Event triggered before request processing |
property AfterResponse: TResponseEvent; [rw] |
|
Event triggered after response generation |
end; |
|
Base class for web actions |
|
| | | ||
| | | ||
| | | ||
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/action