Datasnap.DSHTTP.TDSHTTPServiceFileDispatcher

From RAD Studio API Documentation
Jump to: navigation, search

Datasnap.DSHTTP.TDSCustomHTTPServiceFileDispatcherDatasnap.DSHTTP.TDSHTTPServiceComponentSystem.Classes.TComponentSystem.Classes.TPersistentTDSHTTPServiceFileDispatcher
[–] Properties
Type: class
Visibility: public
Source:
Datasnap.DSHTTP.pas
Datasnap.DSHTTP.hpp
Unit: Datasnap.DSHTTP
Parent: Datasnap.DSHTTP

Delphi

TDSHTTPServiceFileDispatcher = class(TDSCustomHTTPServiceFileDispatcher)

C++

class PASCALIMPLEMENTATION TDSHTTPServiceFileDispatcher : public TDSCustomHTTPServiceFileDispatcher

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.

See Also