RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebResponse Class

TWebResponse is the base class for all objects that represent HTTP messages sent in response to an HTTP request message.

Pascal
TWebResponse = class(TObject);
C++
class TWebResponse : public TObject;

HTTPApp

Use a descendant of TWebResponse to specify the response to an HTTP request message. 

A web application creates a TWebResponse object based on the TWebRequest object for an incoming HTTP request message. The Web dispatcher for the application then passes the TWebResponse object to the TWebActionItem associated with the TWebRequest object, so that the response can be formulated. 

TWebResponse has descendants that represent HTTP response messages in different types of web server applications. These descendants are 

TApacheResponse objects in Apache server applications. 

TCGIResponse objects in CGI server applications. 

TISAPIResponse objects in server DLLs (Windows only).  

TWinCGIResponse objects in Windows-based CGI servers (Windows only). 

 

TApacheResponse 

TCGIResponse 

TISAPIResponse 

TWebActionItem 

TWebApplication 

TWebDispatcher 

TWebRequest 

TWinCGIResponse 

Filling in the Response Header 

Responding to Request Messages with Action Items 

The Structure of a Web Broker Application 

Dispatching Requests and Responses

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!