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

THTTPContentProducer

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

Base class for HTTP content production

Declaration

Source position: fphttp.pp line 38

type THTTPContentProducer = class(TComponent)

public

  procedure HandleRequest();

  

Handles an HTTP request

  procedure GetContent();

  

Retrieves content for the HTTP response

  function HaveContent; virtual;

  

Checks if content is available

  function ContentToStream(); virtual;

  

Writes content to a stream

  property Request: TRequest; [r]

  

Current HTTP request

  property Response: TResponse; [r]

  

Current HTTP response

end;

Inheritance

THTTPContentProducer

  

Base class for HTTP content production

|

TComponent

|

TPersistent,IUnknown,IInterfaceComponentReference

|

TObject,IFPObserved

Description

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


Documentation generated on: Jan 27 2026