Sign in Join
FPDoc Onlineexperiment

TModuleFactory class

In unit fpHTTP

Factory for managing HTTP modules

Declaration

pascal
TModuleFactory = class(TCollection)

Inheritance

  1. TModuleFactory
  2. TCollection
  3. TPersistent
  4. TObject

Description

TModuleFactory manages the registration and creation of HTTP modules.

Properties

ModulespublicArray access to registered modules

Methods

DoHandleRequestprotected
RegisterHTTPModulepublicRegisters an HTTP module
FindModulepublicFinds a module by name
ModuleByNamepublicReturns module by name
IndexOfModulepublicReturns index of named module
RemoveModulepublicRemoves a module from the factory
MoveModuleBeforeDefaultpublicMoves module before default module

Events

OnModuleRequestpublicEvent for module request handling

Inherited

From TCollection (31)

Add Assign BeginUpdate Changed Clear Count Create Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetEnumerator GetItem GetItemAttr GetNamePath Insert ItemClass Items Move Notify Owner PropName SetItem SetItemName SetPropName Sort Update UpdateCount

From TPersistent (6)

AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetOwner

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.