Sign in Join
FPDoc Onlineexperiment

THTTPContentProducer class

In unit fpHTTP

Base class for HTTP content production

Declaration

pascal
THTTPContentProducer = class(TComponent)

Inheritance

  1. THTTPContentProducer
  2. TComponent
  3. TPersistent
  4. TObject

Description

THTTPContentProducer is the base class for generating HTTP content. It provides methods for handling requests and producing content for HTTP responses.

Properties

BeforeRequestprotected
AfterResponseprotected
RequestpublicCurrent HTTP request
ResponsepublicCurrent HTTP response

Methods

DoHandleRequestprotected
DoGetContentprotected
ProduceContentprotected
SetRequestprotected
HandleRequestpublicHandles an HTTP request
GetContentpublicRetrieves content for the HTTP response
HaveContentpublicChecks if content is available
ContentToStreampublicWrites content to a stream

Inherited

From TComponent (76)

_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle Create DefineProperties DesignInfo Destroy DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetParentComponent GetTypeInfo GetTypeInfoCount HasParent iicrGetComponent InsertComponent Invoke IsImplementorOf Loaded Loading Name Notification ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReadState ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetParentComponent SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState

From TPersistent (5)

Assign AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (37)

AfterConstruction 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 StringMessageTable SystemHasExtendedRTTI UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.