RAD Studio |  |

Dispatcher Components
See Also
Collapse All

The dispatcher components in the Web application module control the flow of the application. The dispatchers determine how to handle certain types of HTTP request messages by examining the HTTP request.

The adapter dispatcher component (TAdapterDispatcher) looks for a content field, or a query field, that identifies an adapter action component or an adapter image field component. If the adapter dispatcher finds a component, it passes control to that component.

The Web dispatcher component (TWebDispatcher) maintains a collection of action items (of type TWebActionItem) that know how to handle certain types of HTTP request messages. The Web dispatcher looks for an action item that matches the request. If it finds one, it passes control to that action item. The Web dispatcher also looks for auto-dispatching components that can handle the request.

The page dispatcher component (TPageDispatcher) examines the PathInfo property of the TWebRequest object, looking for the name of a registered Web page module. If the dispatcher finds a Web page module name, it passes control to that module.

See Also

Types of Web Server Applications

The Structure of a Web Broker Application

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!