Web.HTTPApp.IWebAppServices

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

IWebAppServices = interface(IWebAppServices180)

C++

__interface  INTERFACE_UUID("{8B627D59-897B-452C-9633-05CC3A634196}") IWebAppServices  : public IWebAppServices180

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.

Web Broker applications use the IWebAppServices interface to drive the processing of incoming request messages. When the Web Broker 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