Generating the Content of Response Messages
Go Up to Using Web Broker Index
Web Broker provides a number of objects to assist your action items in producing content for HTTP response messages. You can use these objects to generate strings of HTML commands that are saved in a file or sent directly back to the Web client. You can write your own content producers, deriving them from Web.HTTPApp.TCustomContentProducer or one of its descendants.
TCustomContentProducer provides a generic interface for creating any MIME type as the content of an HTTP response message. Its descendants include page producers and table producers:
- Page producers scan HTML documents for special tags that they replace with customized HTML code. They are described in Using Page Producer Components.
- Table producers create HTML commands based on the information in a dataset. They are described in Using Database Information in Responses.