Datasnap.DSHTTP.TDSHTTPServiceFileDispatcher
Delphi
TDSHTTPServiceFileDispatcher = class(TDSCustomHTTPServiceFileDispatcher)
C++
class PASCALIMPLEMENTATION TDSHTTPServiceFileDispatcher : public TDSCustomHTTPServiceFileDispatcher
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp |
Datasnap.DSHTTP | Datasnap.DSHTTP |
Description
Implements an HTTP service file dispatcher.
The TDSHTTPServiceFileDispatcher component is 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.
TDSHTTPServiceFileDispatcher dispatches the files from the web directories specified by the WebDirectories property. The web directories' location is specified by the RootDirectory property.