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

TCustomHTTPModule

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

Base class for HTTP modules

Declaration

Source position: fphttp.pp line 114

type TCustomHTTPModule = class(TDataModule)

public

  constructor CreateNew(); override; overload;

  

Creates a new HTTP module instance

  destructor Destroy; override;

  

Destroys the HTTP module instance

  class procedure RegisterModule();

  

Registers the module with the factory

  procedure HandleRequest(); virtual; abstract;

  

Handles an HTTP request

  procedure DoAfterInitModule(); virtual;

  

Executes after module initialization

  property Kind: TWebModuleKind; [rw]

  

Module creation mode

  property BaseURL: string; [rw]

  

Base URL for the module

  property AfterInitModule: TInitModuleEvent; [rw]

  

Event after module initialization

end;

Inheritance

TCustomHTTPModule

  

Base class for HTTP modules

|

TDataModule

|

TComponent

|

TPersistent,IUnknown,IInterfaceComponentReference

|

TObject,IFPObserved

Description

TCustomHTTPModule is the base class for HTTP modules that handle web requests. It provides the foundation for web applications with action-based request routing.


Documentation generated on: Jan 27 2026