RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IPageDispatcher Interface

IPageDispatcher is the interface for interacting with the page dispatcher.

Pascal
IPageDispatcher = interface(IWebRequestHandler);
C++
__interface IPageDispatcher : public IWebRequestHandler;

SiteComp

The TPageDispatcher component implements IPageDispatcher. This interface, which the TWebAppComponents object publishes, allows the WebSnap application to dispatch request messages. The request messages identify a target Web page using the pathinfo portion of their target URL. If the request is not addressed to an URL with a pathinfo portion, the IPageDispatcher forwards the request to the Web page module identified by the DefaultPageName property. 

In addition to dispatching requests for Web pages, IPageDispatcher includes methods that check whether the current user needs to log in, check whether the current user has rights to view the requested page, and to redirect requests.

Note: In C++, method declarations that use IPageDispatcher use the _di_IPageDispatcher type instead. This type is a DelphiInterface wrapper around the IPageDispatcher interface:
Note: typedef System::DelphiInterface< IPageDispatcher > _di_IPageDispatcher;
 

 

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