SiteComp.IPageDispatcher
Delphi
IPageDispatcher = interface(IWebRequestHandler)
C++
__interface INTERFACE_UUID("{C9FD165A-8F1C-11D4-A4E4-00C04F6BB853}") IPageDispatcher : public Web::Httpapp::IWebRequestHandler
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
interface class |
public | SiteComp.pas SiteComp.hpp |
SiteComp | SiteComp |
Description
IPageDispatcher is the interface for interacting with the page dispatcher.
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;