Web.Win.ISAPIApp.TISAPIApplication

From RAD Studio API Documentation
Jump to: navigation, search

Web.WebBroker.TWebApplicationWeb.WebReq.TWebRequestHandlerSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTISAPIApplication

Delphi

TISAPIApplication = class(TWebApplication)

C++

class PASCALIMPLEMENTATION TISAPIApplication : public Web::Webbroker::TWebApplication

Properties

Type Visibility Source Unit Parent
class public
Web.Win.ISAPIApp.pas
Web.Win.ISAPIApp.hpp
Web.Win.ISAPIApp Web.Win.ISAPIApp

Description

TISAPIApplication encapsulates an ISAPI or NSAPI server application.

TISAPIApplication provides the fundamental behavior of an ISAPI or NSAPI server application. The HTTP server calls the methods of TISAPIApplication when it receives an HTTP request message. TISAPIApplication creates a thread to manage the request message, and a creates a new instance of the Web module for that thread, or reuses an old instance that was deactivated after a previous response was sent.

TISAPIApplication creates TISAPIRequest and TISAPIResponse objects to represent the request message and any response that should be sent in return, passes these to the dispatcher so that the response can be filled in, and sends the response if it was not already sent by a TWebActionItem.

Each ISAPI server project automatically declares an Application variable of type TISAPIApplication as the instance of the application. This declaration overrides the Application variable declared in the Forms unit if the ISAPIApp unit is declared last in the uses list of the project file. Every ISAPI server application must include the ISAPIApp unit.

To work with an Apache server, use the TApacheApplication object. To work with a CGI server, use the TCGIApplication object instead.

See Also