Web.HTTPApp.TCustomContentProducer
Delphi
TCustomContentProducer = class(TComponent, ISetAppDispatcher, IProduceContent, IProduceContentFrom)
C++
class PASCALIMPLEMENTATION TCustomContentProducer : public System::Classes::TComponent
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Web.HTTPApp.pas Web.HTTPApp.hpp |
Web.HTTPApp | Web.HTTPApp |
Description
TCustomContentProducer is the base class for all objects that produce the string that is sent as the contents of an HTTP response message.
Use TCustomContentProducer as a base class when defining a class to produce the contents of an HTTP response message. In most cases, the content producer will assemble a string of HTML commands. However, descendants of TCustomContentProducer can be defined to produce any valid MIME type.