Web.HTTPApp.TCustomWebDispatcher

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TDataModuleSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTCustomWebDispatcher

Delphi

TCustomWebDispatcher = class(TDataModule, IWebRequestHandler, IWebDispatchActions, IWebDispatcherAccess, IWebExceptionHandler)

C++

class PASCALIMPLEMENTATION TCustomWebDispatcher : public System::Classes::TDataModule

Properties

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

Description

TCustomWebDispatcher is the abstract base class for Web dispatcher objects.

Add a descendant of TCustomWebDispatcher to a Web application to enable it to respond to HTTP request messages. When a Web application is created, it automatically includes a TWebModule object, which is a descendant of TCustomWebDispatcher. Keep the default Web module, or replace it with another data module that contains a descendant of TCustomWebDispatcher, such as TWebDispatcher.

TCustomWebDispatcher manages the action items that assemble responses to HTTP request messages. When the TWebApplication object receives an HTTP request message, TCustomWebDispatcher passes the request on to the appropriate action item or action items to service the message.

TCustomWebDispatcher also keeps track of information about the current HTTP message for the benefit of TCustomContentProducer objects.

See Also