RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWebDispatcher Class

TCustomWebDispatcher is the abstract base class for Web dispatcher objects.

Pascal
C++
class TCustomWebDispatcher : public TDataModule, public IWebRequestHandler, public IWebDispatchActions, public IWebDispatcherAccess, public IMultiModuleSupport, public IWebExceptionHandler;

HTTPApp

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!