Unit 'fpHTTP' Package
[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TCustomWebAction

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Base class for web actions

Declaration

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;

Inheritance

TCustomWebAction

  

Base class for web actions

|

TCollectionItem

|

TPersistent

|

TObject,IFPObserved

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/action

Documentation generated on: Jan 27 2026