Sign in Join
FPDoc Onlineexperiment

TCustomWebActions class

In unit fpHTTP

Collection of web actions

Declaration

pascal
TCustomWebActions = class(TCollection)

Inheritance

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

Descends from it: TFPWebActions

Description

TCustomWebActions manages a collection of web actions that can handle HTTP requests.

Properties

ActionVarprotected
ActionspublicArray access to web actions
DefActionWhenUnknownpublicUse default action for unknown requests

Methods

GetRequestActionprotected
GetActionNameprotected
CreatepublicCreates a new web actions collection
AssignpublicCopies actions from another collection
AddpublicAdds a new web action
ActionByNamepublicFinds action by name
FindActionpublicSearches for action by name
IndexOfActionpublicReturns index of named action

Events

OnGetActionpublicEvent for action name determination

Inherited

From TCollection (28)

BeginUpdate Changed Clear Count 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.