Show: Delphi C++
Display Preferences

Web.HTTPApp.IWebAppServices

From XE2 API Documentation
Jump to: navigation, search

Delphi

type IWebAppServices = interface(IInterface) [{D62F1586-E307-11D3-A418-00C04F6BB853}]

C++

__interface  INTERFACE_UUID("{D62F1586-E307-11D3-A418-00C04F6BB853}") IWebAppServices  : public System::IInterface

Properties

Type Visibility Source Unit Parent
interface
class
public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp Web.HTTPApp

Description

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

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:
typedef System::DelphiInterface< IWebAppServices > _di_IWebAppServices;

See Also

Personal tools
Previous Versions
Translations