RAD Studio |  |

Generating the Content of Response Messages
See Also
Collapse All

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 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.

See Also

Action Items

Accessing Client Request Information

The Web Dispatcher

Creating HTTP Response Messages

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!