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

TModuleFactory

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

Factory for managing HTTP modules

Declaration

Source position: fphttp.pp line 224

type TModuleFactory = class(TCollection)

public

  procedure RegisterHTTPModule();

  

Registers an HTTP module

  function FindModule();

  

Finds a module by name

  function ModuleByName();

  

Returns module by name

  function IndexOfModule();

  

Returns index of named module

  procedure RemoveModule();

  

Removes a module from the factory

  function MoveModuleBeforeDefault();

  

Moves module before default module

  property Modules []: TModuleItem; default; [rw]

  

Array access to registered modules

  property OnModuleRequest: TOnModuleRequest; [rw]

  

Event for module request handling

end;

Inheritance

TModuleFactory

  

Factory for managing HTTP modules

|

TCollection

|

TPersistent

|

TObject,IFPObserved

Description

TModuleFactory manages the registration and creation of HTTP modules.


Documentation generated on: Jan 27 2026