RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IWebAppServices Interface

IWebAppServices is the interface for setting up and finishing the processing of HTTP request messages.

Pascal
IWebAppServices = interface;
C++
__interface IWebAppServices;

WebSnap applications use the IWebAppServices interface to drive the processing of incoming request messages. When the WebSnap application receives an HTTP request message it 

 

  1. Calls InitContext to set up a Web context for the request. 

  2. Calls HandleRequest to forward the request to the components that process it. 

  3. Calls FinishContext to shut down the Web context in an orderly fashion. 

In addition to providing access to these core methods of the application, IWebAppServices introduces the ExceptionHandler property. The ExceptionHandler property allows the application access to the component that handles any exceptions that escape all of the try blocks in the application while processing the message.

Note: Method declarations that use IWebAppServices use the _di_IWebAppServices type instead. This type is a DelphiInterface wrapper around the IWebAppServices interface:
Note: typedef System::DelphiInterface< IWebAppServices > _di_IWebAppServices;
 

 

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