Datasnap.DSHTTP.TDSCustomHTTPServiceFileDispatcher
Delphi
TDSCustomHTTPServiceFileDispatcher = class(TDSHTTPServiceComponent)
C++
class PASCALIMPLEMENTATION TDSCustomHTTPServiceFileDispatcher : public TDSHTTPServiceComponent
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp |
Datasnap.DSHTTP | Datasnap.DSHTTP |
Description
Implements an HTTP File Dispatcher service component.
TDSCustomHTTPServiceFileDispatcher is the base class for a TDSHTTPServiceFileDispatcher component used to implement an HTTP File Dispatcher service component.
TDSCustomHTTPServiceFileDispatcher is a service component responsible for responding to HTTP file requests, and will respond with the requested file set as the response stream as long as the requested file has a file type supported by the Web.WebFileDispatcher.TWebFileExtensions component through the WebFileExtensions property.
The RootDirectory property specifies where the file will be dispatched from.
Note that TDSHTTPServiceFileDispatcher is used to publish properties for TDSCustomHTTPServiceFileDispatcher.