RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IWebAppServices.HandleRequest Method

Directs the processing of the current request message.

Pascal
function HandleRequest: Boolean;
C++
__fastcall Boolean HandleRequest();

When the WebSnap application receives a request message, it makes the following calls: 

 

  1. The InitContext method is called to generate a Web context for the request. 

  2. HandleRequest is called to generate a response to the request. 

  3. FinishContext is called to perform any final cleanup. 

HandleRequest locates the dispatcher components that handle the request and forwards the request to a dispatcher for processing. 

HandleRequest returns true if the request is handled and the response should be sent back to the caller (if it was not already sent). It returns false if the WebSnap application could not handle the request. 

 

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